osg-config has a switch to override the installation folders.

[EMAIL PROTECTED]:~/dev/render/rcli$ osg-config --libs --prefix=/usr System
-g -L/usr/lib -lOSGSystem -lOSGBase -ljpeg -lpng -lz -lGLU -lGL -lXmu 
-lXi -lXt -lX11 -lpthread -ldl -lm -L/usr/X11R6/lib64


[EMAIL PROTECTED]:~/dev/render/rcli$ osg-config --cflags --prefix=/usr
-D_GNU_SOURCE -DQT_CLEAN_NAMESPACE -DOSG_WITH_GLUT -DOSG_WITH_QT 
-DOSG_WITH_JPG -DOSG_WITH_PNG -D_OSG_HAVE_CONFIGURED_H_ -DQT_NO_XINERAMA 
-DQT_NO_XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_XKB -DQT_NO_SM_SUPPORT 
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA 
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -ansi 
-use_readonly_const -ftemplate-depth-100 -fPIC -O1 -g -DOSG_DEBUG 
-I/usr/include


This doesn't help with the /dbg and /opt business for the dbg/opt 
libraries; under debian/ubuntu I could never figure out how that's dealt 
with.

Dan

[EMAIL PROTECTED] wrote:
> Michael Babcock wrote:
>   
>> Dirk Reiners wrote:
>>     
>>>     Hi David,
>>>
>>> [EMAIL PROTECTED] wrote:
>>>       
>>>> pkg-config is provided instead, as this is how other libraries in Ubuntu
>>>> provide the information.
>>>>
>>>> pkg-config libopensg --libs
>>>>
>>>> pkg-config libopensg --cflags
>>>>         
>>> Hm, ok. Is hte usual way to not provide XXX-config for packages that 
>>> usually use 
>>> it, or to add support to pkg-config? Personally I think it would be better 
>>> to 
>>> have both, so that software that works on other systems (like the Examples 
>>> and 
>>> Tutorials) also works on Ubuntu, but if the policy is not to do that we 
>>> need to 
>>> think about a way to make the default OpenSG Makefiles smarter.
>>>       
>> Yes, we ran into this issue recently. I understand (second-hand) that 
>> the Ubuntu package also does not include fcdEdit, making it useless for 
>> projects that create custom FieldContainers. And when you try to compile 
>> fcdEdit, it can't find osg-config!
>>
>>
>>
>> -------------------------------------------------------------------------
>> SF.Net email is sponsored by: The Future of Linux Business White Paper
>> from Novell.  From the desktop to the data center, Linux is going
>> mainstream.  Let it simplify your IT future.
>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>> _______________________________________________
>> Opensg-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>
>>     
>
>
> Well one of the main problems of osg-config is that it contains paths
> which are generated at compile time  (configure probably) .  However the
> installed path for the libs/includes don't match whats in the osg-config.
>
> If this issue where solved then osg-config can be installed to /usr/bin
> or we can provide a wrapper around pkg-config called osg-config.
>
> A quick example if this to allow osg-config to return the cflags and
> libs is attached.
>
> BTW I'm also putting OpenSG forward for revu to go into the main Ubuntu
> archives for hardy, so feedback on this would be great.
>
>
> Dave
>
>
>
>
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>   

-- 
Daniel J. Sperka, Ph. D. 
UC Davis Center for Neuroscience


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to