On Thu, Jan 15, 2009 at 6:47 PM, Csaba Halász  wrote:

> On Fri, Jan 16, 2009 at 1:22 AM, Curtis Olson wrote:
> > On Thu, Jan 15, 2009 at 6:14 PM, Csaba Halász
> > wrote:
> >>
> >> On Thu, Jan 15, 2009 at 10:56 PM, Curtis Olson
> >> wrote:
> >> >
> >> > For instance, what is LDFLAGS set to in your Makefile in that
> directory?
> >>
> >> I use --with-osg argument to configure. It should figure out the
> >> proper -L option from there, shouldn't it?
> >
> > Right, and all the "-L" arguments should be added to LDFLAGS in the local
> > Makefile in that directory.  So I was hoping you would report the value
> of
> > that variable.  This would help us determine if --with-osg did the right
> > thing for you or not.  And if it looks like LDFLAGS has the correct
> options,
> > it would be interesting to double check the OSG directory just to make
> > certain that the requested library is living there.
>
> LDFLAGS = -L/home/hcs/src/inst/sg-dbg/lib -L/usr/X11R6/lib
>
> Which is interesting, because that's the path I am going to *install*
> it to. So why add that?


I believe the --prefix= path is always added.  This is a convenience because
often times you end up installing the prerequisites in the same --prefix
location.

Configure arguments were: --with-osg=/home/hcs/src/inst/osg
> --prefix=/home/hcs/src/inst/sg-dbg --with-jpeg-factory


Ok, I wonder if --with-osg is failing in some way.  I'd be interested in
seeing the output of your configure run, and if you are doing that, you
might as well include the config.log


> ~/src/inst/osg/lib$ ls -l libOpen*
> lrwxrwxrwx 1 hcs hcs     20 2008-11-19 19:37 libOpenThreads.so ->
> libOpenThreads.so.11
> lrwxrwxrwx 1 hcs hcs     23 2008-12-30 04:41 libOpenThreads.so.11 ->
> libOpenThreads.so.2.3.1
> -rw-r--r-- 1 hcs hcs 127456 2009-01-15 17:52 libOpenThreads.so.2.3.1
>

Regards,

Curt.
-- 
Curtis Olson: http://baron.flightgear.org/~curt/
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to