Re: Compiling PicoGUI on Skiffclusters
Eric Heinemann <[email protected]>
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks again. This is my first time compiling someone else's code, and as such I am not used to having to use environment variables. As I am doing this on a remote location, root is not available. Thank you again for the help. Eric Philippe Ney <[email protected]> wrote:> OK. Now here is where I am going to seem like a pest. I have now compiled > and 'make install'ed: pgserver, cli_c, themetools, and res_c. Now I am > getting an error when running 'make' in the apps folder. I have already ran > ./autogen.sh, ./configure (specifying prefix, exec-prefix, pgserver > location, cli_c location, themetools location, res_c location). THe error I > am getting has to do with not being able to find '-lpgui'. Any ideas? Here > is everything outputted when make is > run:guest@ipaq7:~/[email protected]/picogui-0.45/apps$ make cd . && [...] > >../libtool --mode=link gcc -o pgboard pgboard.o kbfile.o -lpgui -lu til gcc > >-o pgboard pgboard.o kbfile.o -lpgui -lutil /usr/bin/ld: cannot find -lpgui > >collect2: ld returned 1 exit status make[3]: *** [pgboard] Error 1 make[3]: > >Leaving directory `/home/guest/[email protected]/picogui-0.45/apps/ > >pgboard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory > >`/home/guest/[email protected]/picogui-0.45/apps/ pgboard' make[1]: *** > >[all-recursive] Error 1 make[1]: Leaving directory > >`/home/guest/[email protected]/picogui-0.45/apps' make: *** > >[all-recursive-am] Error 2 Thanks again Philippe for getting me this > >far,Eric This error means it cannot link with the picogui client library (libpgui) that is default installed in /usr/local/lib. Certainly that you haven't this path in your /etc/ld.so.conf file and then the linker only seach in /lib and /usr/lib Add it and then run as root : # ldconfig An other solution is adding it to the LD_LIBRARY_PATH environment variable $ export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH} But this is not permanent and only valid in the current shell. -philippe n.b.: Some 'return' at the right place would not be ~too much~ for readability ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Pgui-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pgui-devel --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.