libjpeg.a

Support and queries relating to all previous versions of ZoneMinder
Locked
duppie
Posts: 11
Joined: Fri Aug 01, 2003 8:01 am

libjpeg.a

Post 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
User avatar
tech_fixer
Posts: 132
Joined: Tue Jul 29, 2003 3:07 pm

Re: libjpeg.a

Post 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.
duppie
Posts: 11
Joined: Fri Aug 01, 2003 8:01 am

Re: libjpeg.a

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: libjpeg.a

Post 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,
duppie
Posts: 11
Joined: Fri Aug 01, 2003 8:01 am

Re: libjpeg.a

Post 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?
duppie
Posts: 11
Joined: Fri Aug 01, 2003 8:01 am

Re: libjpeg.a

Post by duppie »

Hmmm.... No body know's even not the developer?

Grtz...


Aron
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: libjpeg.a

Post by zoneminder »

Hi,

If you do a 'locate libjpeg.a' can you tell me what you get as output?

Phil,
Locked