On Dec 24, 2003, at 8:18 PM, Ben Hines wrote:


Depends on what variables the buildsystem honors.

Usually
SetLIBS: -lstdc++

or maybe
SetLDFLAGS: -lstdc++

etc.

But usally you'd want to be linking with "g++" instead of "gcc" to fix the c++ link problem.


Actually, I only need SetLDFLAGS: -lstdc++.


It compiles fine, but I do get the following related message:

*** Warning: linker path does not have real file for library -lstdc++.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libstdc++ and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/gcc/darwin/default/libstdc++.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.


*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.


I have no clue what this means, and if it is a problem.



The same package (plplot) uses python (among other languages) for scripting purposes.
So to make sure that the configuration can locate the python headers, from the plplot mailing list I got the suggestion to use


setenv PYTHON_INC_DIR /sw/include/python2.3

before using ./configure. How can I merge this into the info file? I tried

SetCPPFLAGS: -I%p/include/python2.3/

but that didn't work (the configure script didn't use it). Any suggestions how to do this?


thanks,


- Koen.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to