From: Haris I. K. V. <blu...@gm...> - 2012-04-26 16:58:47
|
On 26 April 2012 22:16, Ben Corne <ben...@gm...> wrote: > that means libt4k_common is wrongful installed. I think the configure > defaults installation path to /opt or to /usr/local > > Some solutions: > > Tell the install script it needs to be installed in /usr : > cd <path to t4k_common> > ./configure --prefix=/usr > make > make install > > Find out where it stored libt4k_common.so.0 (man locate) and add it to > your searchpath: > locate libt4k_common.so > <get some results> > export PATH=$PATH:<result from locate> > > Good luck :) > Thanks ben for getting back to me. However, I happened to read the INSTALL file of t4kcommon and it says to run "sudo ldconfig" after "sudo make install"ing the t4kcommon library. I have in the past successfully built tuxmath many times but have never needed to run ldconfig. Well, this time I ran it and everything worked fine. :) Weird computers. :P As for the other errors, why would the make process fail while the configure script ran with "--without-sdlnet"? Is that a bug? > > > 2012/4/26 Haris Ibrahim K. V. <blu...@gm...> > >> Hi, >> >> I had run the configure scripts with the "--without-sdlnet" option when >> the following errors occured. I tried installing sdlnet via apt-get and the >> build worked fine. However, while trying to run tuxmath, I got the >> following error: >> >> tuxmath: error while loading shared libraries: libt4k_common.so.0: cannot >> open shared object file: No such file or directory >> >> Any thoughts? >> >> >> On 26 April 2012 15:04, Haris Ibrahim K. V. <blu...@gm...> wrote: >> >>> Hi, >>> >>> In order to install tuxmath, I downloaded both the tar balls from >>> http://tux4kids.alioth.debian.org/tuxmath/download.php . After >>> installing the t4k_common, when I tried installing tuxmath, it ran into an >>> error during the make process. The following is a small portion of the >>> error messages: >>> >>> menu_lan.c: In function ‘draw_player_table’: >>> menu_lan.c:428: warning: implicit declaration of function >>> ‘LAN_NumPlayers’ >>> menu_lan.c:433: warning: implicit declaration of function >>> ‘LAN_ConnectedServerName’ >>> menu_lan.c:433: warning: assignment makes pointer from integer without a >>> cast >>> menu_lan.c:448: warning: implicit declaration of function >>> ‘LAN_ConnectedServerLesson’ >>> menu_lan.c:448: warning: assignment makes pointer from integer without a >>> cast >>> menu_lan.c:464: error: ‘MAX_CLIENTS’ undeclared (first use in this >>> function) >>> menu_lan.c:466: warning: implicit declaration of function ‘LAN_MyIndex’ >>> menu_lan.c:471: warning: implicit declaration of function >>> ‘LAN_PlayerConnected’ >>> menu_lan.c:475: warning: implicit declaration of function >>> ‘LAN_PlayerName’ >>> menu_lan.c:475: warning: passing argument 1 of ‘T4K_BlackOutline’ makes >>> pointer from integer without a cast >>> /usr/local/include/t4k_common.h:1219: note: expected ‘const char *’ but >>> argument is of type ‘int’ >>> menu_lan.c:484: warning: implicit declaration of function >>> ‘LAN_PlayerReady’ >>> make[2]: *** [menu_lan.o] Error 1 >>> make[2]: Leaving directory >>> `/home/haris/deb_utsav/tuxmath_w_fonts-2.0.1/src' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/home/haris/deb_utsav/tuxmath_w_fonts-2.0.1' >>> make: *** [all] Error 2 >>> >>> ---------------------------------------------------- >>> >>> I tried cloning the t4kcommon library using git and installed it. But >>> the error still persisted in the make process of tuxmath although those >>> were different errors like variable yellow, etc not declared. >>> >>> I wanted to demonstrate "installing from source" at a deb camp in one of >>> the colleges here and I was hoping to take tuxmath as an example. Please do >>> help me out on where I am doing it wrong. >>> >>> Thanks, >>> >>> -- >>> Haris Ibrahim K. V. >>> sosaysharis.wordpress.com >>> >>> >> >> >> -- >> Haris Ibrahim K. V. >> sosaysharis.wordpress.com >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Tuxmath-devel mailing list >> Tux...@li... >> https://lists.sourceforge.net/lists/listinfo/tuxmath-devel >> >> > -- Haris Ibrahim K. V. sosaysharis.wordpress.com |