Error When Installing Boinc Server

Message boards : Server programs : Error When Installing Boinc Server
Message board moderation

To post messages, you must log in.

AuthorMessage
harapan

Send message
Joined: 6 Dec 15
Posts: 4
Indonesia
Message 66228 - Posted: 18 Dec 2015, 11:43:57 UTC

I have some problem when compile Boinc in FreeBSD 9.3-RELEASE FreeBSD 9.3-RELEASE.

I have followed,
https://boinc.berkeley.edu/trac/wiki/ServerIntro#general
http://www.spy-hill.net/myers/help/boinc/Create_Project.html

Everything was going well until

% make
cd . && sh generate_svn_version.sh
make all-recursive
Making all in m4
Making all in api
CXXLD libboinc_graphics2.la
/usr/bin/ld: cannot find -ljpeg
*** [libboinc_graphics2.la] Error code 1

Stop in /boinc/api.
*** [all-recursive] Error code 1

Stop in /boinc.
*** [all] Error code 1

Stop in /boinc.

Can someone help me with this error?
Thank You Very Much.
ID: 66228 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 66260 - Posted: 18 Dec 2015, 20:22:27 UTC - in response to Message 66228.  

Do you have development files for libjpeg installed in some non-standard location?
ID: 66260 · Report as offensive
harapan

Send message
Joined: 6 Dec 15
Posts: 4
Indonesia
Message 66299 - Posted: 20 Dec 2015, 7:41:23 UTC - in response to Message 66260.  
Last modified: 20 Dec 2015, 7:41:56 UTC

I have installed libjpeg-turbo-1.4.2, jpeg-8_6 and openjpeg-2.1.1 on my server and all in the default directory
ID: 66299 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 66311 - Posted: 20 Dec 2015, 22:24:54 UTC - in response to Message 66299.  

And configure reports it found the libs?

checking for jpeg_start_compress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes


This is weird. If configure doesn't find the lib it shouldn't be making the graphics API but since it's making the API then it must have found the lib.

If you don't need the graphics API you could temporarily disable it by editing configure.ac. Add 'have_jpeg=0' after the jpeg test in around line 628 like so:

have_jpeg=0
AM_CONDITIONAL(BUILD_GRAPHICS_API, [ test "$have_glut" = yes -a "$have_jpeg" = 1])
ID: 66311 · Report as offensive
harapan

Send message
Joined: 6 Dec 15
Posts: 4
Indonesia
Message 66345 - Posted: 22 Dec 2015, 16:17:35 UTC - in response to Message 66311.  

Thank you for your help. It's Work
ID: 66345 · Report as offensive

Message boards : Server programs : Error When Installing Boinc Server

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.