Page 1 of 1
libjpeg.a
Posted: Fri Aug 01, 2003 8:03 am
by duppie
Hi,
I installed the libjpeg-devel.rpm package on a red hat 9 installation but zm still complaints about that libjpeg.a is missing what can i do to solve this issue?
Thanks
Aron
Re: libjpeg.a
Posted: Fri Aug 01, 2003 5:46 pm
by tech_fixer
Instead of installig a precompiled package, try using a source RPM (SRPM).
SRPMs tend to fit better than precompiled systems because they are compiled for your specific computer. Here's the link for a libjpeg srpm package that should fit your installation quite well.
ftp://rpmfind.net/linux/rawhide/1.0/SRP ... 28.src.rpm
I use it on mine (RH9).
After downloading do:
rpmbuild --rebuild libjpeg-6b-28.src.rpm
in the directory you downloaded the package.
If it complains about prerequisites, download the needed packages from rpmfind.net and try the rpmbuild command again.
Good luck!
Jose Rodriguez.
Re: libjpeg.a
Posted: Mon Aug 04, 2003 7:48 am
by duppie
Hi,
I have installed the SRPM he installed it fine without any problems but I get still the error that Zm needs Libjpeg.a?
checking for jpeg_start_compress in -ljpeg... no
configure: error: zm requires libjpeg.a
This is the command that I use
./configure --with-mysql=/usr/local --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin
What is the problem???
Thanks for your help..
aron
Re: libjpeg.a
Posted: Mon Aug 04, 2003 8:31 am
by zoneminder
Hi,
This is most likely caused by a missing c++ compiler, e.g. g++. Can you check if you have g++ installed?
I have now added this item as a FAQ.
Cheers,
Phil,
Re: libjpeg.a
Posted: Mon Aug 04, 2003 12:52 pm
by duppie
Hi,
I have checked if i have g++ or c++ installed but with both a get a reply from the program.
This is a part of the ./configure log
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether round is declared... yes
checking for jpeg_start_compress in -ljpeg... no
configure: error: zm requires libjpeg.a
What can be the next problem?
Re: libjpeg.a
Posted: Wed Aug 13, 2003 12:09 pm
by duppie
Hmmm.... No body know's even not the developer?
Grtz...
Aron
Re: libjpeg.a
Posted: Thu Aug 14, 2003 12:05 pm
by zoneminder
Hi,
If you do a 'locate libjpeg.a' can you tell me what you get as output?
Phil,