I've not tried building it with gmp installed in my home directory,
rather than systemwide, but I'd think you probably need to add -L/home/
username/usr/local/gmp-4.2.1/lib/ to the LDFLAGS line in the
GNUmakefile and -I home/username/usr/local/gmp-4.2.1/include to the
CPPFLAGS line.
I'd also recommend that you get the trunk version, rather than the 0.4
release. There have been a lot of improvements to the Smalltalk
implementation since 0.4.0.
David
On 24 Feb 2009, at 20:58, Christopher Nielsen wrote:
> Hi there,
>
> I really enjoyed listening to the FLOSS netcast about Etoile with
> David Chisnall and Quentin Mathé. Also, I also heard the folks at the
> GNUStep booth at the Southern California Linux Expo talk and demo
> Etoile a little, and I decided to try it out.
>
> Over the last few days, to the best of my ability, I've been trying to
> get all of Etoile-0.4.0's dependencies compiled and installed, and
> I've run across trouble compiling SmalltalkKit.
>
> The trouble I'm getting seems to be that ld cannot find the gmp
> libraries. I do have that installed though in:
>
> /home/username/usr/local/gmp-4.2.1/lib/libgmp.*
>
> It also couldn't find the gmp.h header file, until I copied it into
> the SmalltalkKit directory.
>
> I made sure to the add the gmp lib dir to:
> LD_LIBRARY_PATH
> LD_RUN_PATH
> ${FRAMEWORK_NAME}_LDFLAGS
> ${FRAMEWORK_NAME}_CFLAGS
>
> to no avail :(
>
> Is there some way for me to tell the build process how to find this
> resource?
>
> Thank you,
>
> Chris
>
> --
> [email protected]
>
>
> <SNIP>
> Making build-headers for framework SmalltalkKit...
>
> Build Project: SmalltalkKit
>
> SmalltalkKit /home/cnielsen/Desktop/Etoile-0.4.0/Languages/
> SmalltalkKit
> SmalltalkKit
> Making all in Support...
>
> Build Project: SmalltalkSupport
>
> SmalltalkSupport
> /home/cnielsen/Desktop/Etoile-0.4.0/Languages/SmalltalkKit/Support
> SmalltalkSupport
> Making all for library SmalltalkSupport...
> Linking library SmalltalkSupport ...
> /usr/bin/ld: cannot find -lgmp
> collect2: ld returned 1 exit status
> make[2]: *** [obj/libSmalltalkSupport.so.0.0.1] Error 1
> make[1]: *** [SmalltalkSupport.all.library.variables] Error 2
> make: *** [internal-all] Error 2
> </SNIP>
>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss