Questions and Answers :
Unix/Linux :
Building Seti Client (csv-2004-09-30)
Message board moderation
Author | Message |
---|---|
nirvek Send message Joined: 27 Jun 04 Posts: 5 Credit: 2,192,657 RAC: 0 |
Like many of the others here I'm trying to compile seti client, however upon 'make' i was have errors .. 'make -k' wasnt help me ... (sorry for my bad english), log: nirvek:/usr/src/seti_boinc# make -k (cd client; make all) make[1]: Entering directory `/usr/src/seti_boinc/client' g++ main.o analyzeFuncs.o analyzeReport.o analyzePoT.o pulsefind.o gaussfit.o lcgamm.o malloc_a.o seti.o seti_header.o timecvt.o s_util.o version.o worker.o chirpfft.o spike.o progress.o ../db/schema_master_client.o ../db/sqlrow_client.o ../db/sqlblob.o ../db/xml_util.o -L. -looura -lstdc++ -lnsl -lm -ldl -o setiathome_4.3_i686-pc-linux-gnu -L/lib -lboinc /usr/bin/ld: cannot find -lboinc collect2: ld returned 1 exit status make[1]: *** [setiathome_4.3_i686-pc-linux-gnu] Error 1 g++ main_test.o analyzeFuncs.o analyzeReport.o analyzePoT.o pulsefind.o gaussfit.o lcgamm.o malloc_a.o seti.o seti_header.o timecvt.o s_util.o version.o worker.o chirpfft.o spike.o progress.o ../db/schema_master_client.o ../db/sqlrow_client.o ../db/sqlblob.o ../db/xml_util.o -L. -looura -lstdc++ -lnsl -lm -ldl -o setiathome_test -L/lib -lboinc /usr/bin/ld: cannot find -lboinc collect2: ld returned 1 exit status make[1]: *** [setiathome_test] Error 1 make[1]: Target `all' not remade because of errors. make[1]: Leaving directory `/usr/src/seti_boinc/client' make: *** [all] Error 2 nirvek:/usr/src/seti_boinc# Any sugestions? |
Mpemba Effect Send message Joined: 3 Apr 99 Posts: 6 Credit: 1,895 RAC: 0 |
What you need to do is compile the libraries in the boinc client. To do this cd into your boinc sources and type: export MYSQL_CONFIG=true cd lib make If you have mySQL install exclude the first line. If you don't have mySQL you must use the 'export MYSQL_CONFIG=true' trick and NOT use the '--disable-server flag'. If you then cd into lib you should see 'boinc_api.o' that tells you all is good. You can now cd into your seti source and compile the seti client. You'll still need to use 'make -k' since you may get errors regardin GLUT which is for the xsetiathome client which you proberbly don't want anyway. The normal CLI client will build fine. |
nirvek Send message Joined: 27 Jun 04 Posts: 5 Credit: 2,192,657 RAC: 0 |
I have this problem still .... i was export MYSQL_CONFIG=true , in ../boinc_public : ./configure , make -k , i was see boinc_api.o in /lib , in ../seti_boinc : /configure (lots of warnings) , make ... then i need copy some *.h from boinc directory to seti_boinc/dp and /lib and make again .... an i have this error -lboinc still ... what i need copy and from and where ? any ideas? |
Mpemba Effect Send message Joined: 3 Apr 99 Posts: 6 Credit: 1,895 RAC: 0 |
Ah, I think I know what you mean by the ./configure errors. Do you mean you get alot of messages like this?: configure: WARNING: cstring: present but cannot be compiled configure: WARNING: cstring: check for missing prerequisite headers? configure: WARNING: cstring: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## If you are getting errors like this what you need to do is change the name of the "boinc_public" folder to "boinc". Alternatively you can create symlink "boinc_public" to "boinc" like I have done here: lrwxrwxrwx 1 meow wheel 12 Sep 30 22:08 boinc -> boinc_public drwxr-xr-x 22 meow wheel 56 Sep 21 14:03 boinc_public drwxr-xr-x 15 meow wheel 25 Sep 30 22:05 seti_boinc $ When compiling the seti client it looks for the boinc files inside the directory called "boinc" and not "boinc_public", this is the reason for the errors when you type ./configure and the -lboinc error. |
Hans Dorn Send message Joined: 3 Apr 99 Posts: 2262 Credit: 26,448,570 RAC: 0 |
Hi Nirvek! >/usr/bin/ld: cannot find -lboinc >collect2: ld returned 1 exit status >make[1]: *** [setiathome_4.3_i686-pc-linux-gnu] Error 1 I guess the "seti_boinc" dir should be located under "boinc_public" If you cd to the "lib" subdirectory of "boinc_public" and run "make" there, the error should go away. Regards Hans |
nirvek Send message Joined: 27 Jun 04 Posts: 5 Credit: 2,192,657 RAC: 0 |
I was create symlink and all works fine :) THX |
Ned Slider Send message Joined: 12 Oct 01 Posts: 668 Credit: 4,375,315 RAC: 0 |
Hi, I too was recently struggling to work out how to get the boinc to compile. I have written a guide that is now available at the following link: http://forums.pcper.com/showthread.php?t=349185 Please feel free to drop by and I hope you find the information useful. - and thanks again to Hans for assisting me in another thread when I was trying to work this out :) Hope you find this helpful, Regards, Ned |
Hans Dorn Send message Joined: 3 Apr 99 Posts: 2262 Credit: 26,448,570 RAC: 0 |
> Hi, > > I too was recently struggling to work out how to get the boinc to compile. I > have written a guide that is now available at the following link: > > http://forums.pcper.com/showthread.php?t=349185 > > Please feel free to drop by and I hope you find the information useful. > > > Regards, > > Ned > Hi Ned! Nice work with your summary. I just came across an issue I forgot to mention: I had to create an empty "std_fixes.h" under /root/lib to get the compile going. Regards Hans |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.