Re: Compiling PicoGUI on Skiffclusters

Eric Heinemann <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
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 . && autoheader make all-recursive make[1]: Entering directory `/home/guest/[email protected]/picogui-0.45/apps ' Making all in pgboard make[2]: Entering directory `/home/guest/[email protected]/picogui-0.45/apps /pgboard' Making all in examples make[3]: Entering directory `/home/guest/[email protected]/picogui-0.45/apps /pgboard/examples' cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/in
 dependent < us_fitaly_160.kbs > us_fitaly_160.kb cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_qwerty_240.kbs > us_qwerty_240.kb cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_qwerty_scalable.kbs > us_qwerty_scalable.kb cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < ch_qwertz_scalable.kbs > ch_qwertz_scalable.kb cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_qwerty_scalable_console8.kbs > us_qwerty_scalable_console8.k b cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_qwerty_scalable_helvetica8.kbs > us_qwerty_scalable_helvetic a8.kb cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_qwerty_scalable_clean6.kbs > us_qwerty_scalable_clean6.kb cd ../../pgboard/exampl
 es && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_qwerty_scalable_color.kbs > us_qwerty_scalable_color.kb cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_dvorak_scalable.kbs > us_dvorak_scalable.kb cd ../../pgboard/examples && ../kbcompile.pl -pg /home/guest/[email protected] om/independent < us_dvorak_scalable_color.kbs > us_dvorak_scalable_color.kb make[3]: Leaving directory `/home/guest/[email protected]/picogui-0.45/apps/ pgboard/examples' make[3]: Entering directory `/home/guest/[email protected]/picogui-0.45/apps /pgboard' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -c pgboa rd_api.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wp,-MD,.deps/pgboard_api.pp -c pgboard_api.c -fPIC -DPIC -o .libs/pgboard_api.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wp,-MD,.deps/pgboard_api.pp -c pgboard_api.c - o pgboard_api.o >/dev/null 2>&1 mv -f .libs/pgboard_api.lo pgboard_ap
 i.lo /bin/sh ../libtool --mode=link gcc -o libpgboard.la -rpath /home/guest/e_hein [email protected]/dependent/lib pgboard_api.lo -lutil rm -fr .libs/libpgboard.la .libs/libpgboard.* .libs/libpgboard.* gcc -shared pgboard_api.lo -lutil -Wl,-soname -Wl,libpgboard.so.0 -o .libs/li bpgboard.so.0.0.0 (cd .libs && rm -f libpgboard.so.0 && ln -s libpgboard.so.0.0.0 libpgboard.so.0) (cd .libs && rm -f libpgboard.so && ln -s libpgboard.so.0.0.0 libpgboard.so) ar cru .libs/libpgboard.a pgboard_api.o ranlib .libs/libpgboard.a creating libpgboard.la (cd .libs && rm -f libpgboard.la && ln -s ../libpgboard.la libpgboard.la) gcc -DHAVE_CONFIG_H -I. -I. -I.. -c pgboard.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -c kbfile.c kbfile.c: In function `kb_validate': kbfile.c:85: warning: comparison is always false due to limited range of data ty pe /bin/sh ../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

Philippe Ney <[email protected]> wrote:> I did install the server. I also tried pointing cli_c directly to the
> headers. The result was the same. Any other ideas? Thanks,Eric

Give to configure the path to the pgserver, not the include directory.

If you have an arboresence like :

/home/eric/picogui/pgserver
/home/eric/picogui/cli_c

Then in cli_c do :

$ ./configure --with-pgserver=../pgserver

If this doesn't work, try some simlinks.
Have a look in the configure.in script, you will see that your error
appear when it cannot link with 


-philippe


-------------------------------------------------------
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.