-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Try "gcc -I/sw/lib myprogram.c"
On 11/17/11 12:31 PM, Marcel Merkle wrote: > localhost:~ marcelmerkle$ fink list -it gmp Information about 3735 > packages read in 1 seconds. i gmp5 5.0.2-2 GNU multiple precision > arithmetic library i gmp5-shlibs 5.0.2-2 Shared library for gmp > package i libgmpxx5-shlibs 5.0.2-2 Shared C++ library for gmp > package Am 17.11.2011 um 18:27 schrieb Alexander Hansen: > > And what does "fink list -it gmp" give you? > > On 11/17/11 12:20 PM, Marcel Merkle wrote: >>>> The output is >>>> >>>> localhost:meine_programme marcelmerkle$ gcc myprogram.c >>>> myprogram.c:2:17: error: gmp.h: No such file or directory >>>> >>>> Am 17.11.2011 um 18:14 schrieb Alexander Hansen: >>>> >>>> You're going to need to post your output. >>>> >>>> We aren't looking at your terminal, and describing what is >>>> going on is far less informative than actually seeing the >>>> literal output. >>>> >>>> On 11/17/11 11:21 AM, Marcel Merkle wrote: >>>>>>> I tried that already.. Am 17.11.2011 um 16:58 schrieb >>>>>>> Alexander Hansen: >>>>>>> >>>>>>> On 11/17/11 10:26 AM, Marcel Merkle wrote: >>>>>>>>>> Hello, thank you very much for your help.But >>>>>>>>>> there is still a problem. I added the written >>>>>>>>>> lines to the .profile file. Then I wanted to >>>>>>>>>> compile a test program which imports the >>>>>>>>>> gmp-library that I have installed with fink >>>>>>>>>> before, but the compiler cannot find it. What can >>>>>>>>>> I do to fix this problem? >>>>>>> >>>>>>> Start a new terminal window. Updates to $HOME/.profile >>>>>>> don't take effect immediately. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7FS4cACgkQB8UpO3rKjQ9BfwCeI0ETUC5C954j4HotqbmJsPF3 pWUAoIPY/cvVpkSA5SjNYs/32pAGdLFY =+f/h -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
