wxformbuilder not able to find libs?

Rajinder Yadav devguy-DaQTI0RpDDMAvxtiuMwx3w at public.gmane.org
Mon Jun 29 02:24:44 UTC 2009


Marc,

I figured out I had to build from svn source tree rather than building from the tarball source.

There is a script 'create_build_files.sh' that needs to be run before make, and now the app is up and running.

Kind Regards,
Rajinder Yadav


--- On Sat, 6/27/09, Rajinder Yadav <devguy-DaQTI0RpDDMAvxtiuMwx3w at public.gmane.org> wrote:

> From: Rajinder Yadav <devguy-DaQTI0RpDDMAvxtiuMwx3w at public.gmane.org>
> Subject: Re: [TLUG]: wxformbuilder not able to find libs?
> To: tlug at ss.org
> Received: Saturday, June 27, 2009, 5:02 PM
> 
> Hi Marc,
> 
> I am kind of surprised because wxFormBuilder has made it to
> version 3.0 with this type of make system. The readme has a
> section on how to run a script to generate a make file, yet
> I could not find that script!
> 
> There seems to be another script I am to run before make,
> not sure? because I recall it has a prefix pre to whatever
> it was called (not at my linux box now).
> 
> About ldconfig, I have been doing things this was, making
> sure to call it after I do my 'make install', always!
> 
> So I am still not sure why I need to define and export
> LD_LIBRARY_PATH, I ended up sticking this into my
> '/etc/bashrc' files so it would always be set. Now a day
> later, I don't feel comfortable with this idea so when I get
> home tonight I will remove it because I don't want to break
> my system by confusing it to use some other lib. I say this
> because I had to rebuild glibc so I got one that came with
> my system and another one from source that I needed to build
> CodeBlocks my C++ IDE. Possibly the new glibc if loaded will
> break old apps!
> 
> I think I need to rebuild (wxFormBuilder) because it's
> broken. I run the app, I do not see a toolbox to be able to
> start creating resources. I don't even see that in the menu
> anywhere!
> 
> I agree that documentation is poorly lagging in some/many
> open source projects.... this is my greatest annoyance! The
> project page has a wiki, I just noticed and I don't see any
> instructions on how to build from source. Since they also
> have a forum I will give that a try... I guess none of the
> developers want to take 5-10 mins out of their time once a
> day and possibly write up a how to compile and install
> wxForumBuilder!
> 
> On the forum now, I am reading someone else having issues
> on fedora 9 with gcc 4..3 which is going to break with old
> code because of strictness....lol, love open source!
> 
> I was almost seduce to install fedora 11, but it will not
> install on my older system with 384M of ram...I will stick
> to my base CentOS 5.3 tool chain so I don't waste time and
> hoping the open source community will catch up with C++
> compliant code that will not break on gcc 4.3.
> 
> Kind Regards,
> Rajinder Yadav
> 
> 
> --- On Sat, 6/27/09, Marc Lanctot <lanctot-yfeSBMgouQgsA/PxXw9srA at public.gmane.org>
> wrote:
> 
> > From: Marc Lanctot <lanctot-yfeSBMgouQgsA/PxXw9srA at public.gmane.org>
> > Subject: Re: [TLUG]: wxformbuilder not able to find
> libs?
> > To: tlug-lxSQFCZeNF4 at public.gmane.org
> > Received: Saturday, June 27, 2009, 12:59 PM
> > On Sat, 27 Jun 2009 04:26:17 -0700
> > (PDT)
> > Rajinder Yadav <devguy-DaQTI0RpDDMAvxtiuMwx3w at public.gmane.org>
> > wrote:
> > 
> > > 
> > > It seems the make file for wxformbuilder still
> needs
> > work! There is
> > > no make install step.
> > 
> > What's its version number?
> > 
> > > To fix the problem, I had to define
> LD_LIBRARY_PATH to
> > point to the
> > > runtime wxgtk+ and wxformbuilder libs ...starting
> to
> > get an
> > > understanding how this works.
> > > 
> > > I also had to create sym-links to some xml files,
> if
> > it was not for
> > > the descriptive error messages with path to file,
> I
> > would not have
> > > figured out the last step.
> > > 
> > > I wonder how much time and energy is lost on
> > incomplete steps, the
> > > developers must love to answer FAQ? Even reading
> the
> > INSTALL notes
> > > didn't help me.
> > 
> > Welcome to the wonderful world of open-source software
> ;)
> > These
> > are the kinds of things you should expect to put up
> with if
> > the project
> > is still in alpha, beta, or is not at version 1.0 yet.
> And,
> > some
> > projects are just better documented than others; after
> a
> > slew of people
> > hop onto the mailing list to ask the same questions,
> > programmers soon
> > learn the value of documentation. 
> > 
> > Anyway, the LD_LIBRARY_PATH is a common Unix/Linux
> thing
> > (on other Unix

> > flavors it's known as SHARED_LIB, etc.), it's not tied
> to
> > any particular
> > project. It's extra search paths for linked libraries,
> as
> > you now know.
> > It's mostly used for when users want to install things
> and
> > don't have
> > root access, which I always do because I have access
> to
> > school machines
> > but no root. For example, I normally install things
> with a
> > prefix
> > of /home/lanctot . So I have to put /home/lanctot/lib
> in
> > LD_LIBRARY_PATH and usually have to compile with
> > -I/home/lanctot/inc. 
> > 
> > There is an alternative if you have root access. Add
> the
> > link path
> > to /etc/ld.so.conf and then run ldconfig. Some
> distros
> > even
> > put /usr/local/lib in there by default, and you
> probably
> > should if
> > you're installing things from source with /usr/local
> > prefix. 
> > 
> > I can't think of any reason to prefer one over the
> other,
> > though I'm
> > sure there are reasons. man ldconfig :) Either way,
> it's
> > not something
> > you'll find in an INSTALL file because it's "common
> > knowledge". 
> > 
> > So this won't only fix your problems with
> wxforbuilder.. it
> > will fix
> > all future problems too :) 
> > 
> > Marc
> > --
> > The Toronto Linux Users Group.     
> > Meetings: http://gtalug.org/
> > TLUG requests: Linux topics, No HTML, wrap text below
> 80
> > columns
> > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
> > 
> 
> 
>      
> __________________________________________________________________
> Looking for the perfect gift? Give the gift of Flickr! 
> 
> http://www.flickr.com/gift/
> 
> --
> The Toronto Linux Users Group..     
> Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80
> columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
> 


      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list