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
libjpeg.a
- tech_fixer
- Posts: 132
- Joined: Tue Jul 29, 2003 3:07 pm
Re: libjpeg.a
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.
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
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
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: libjpeg.a
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,
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
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?
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
Hmmm.... No body know's even not the developer?
Grtz...
Aron
Grtz...
Aron
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: libjpeg.a
Hi,
If you do a 'locate libjpeg.a' can you tell me what you get as output?
Phil,
If you do a 'locate libjpeg.a' can you tell me what you get as output?
Phil,