Help for Mapserver installation

Lowell.Filak lfilak at MEDINACO.ORG
Sun Nov 13 22:13:01 EST 2005


K Kuo writes: 

> Hi,
> I am new to Mapserver and linux as well. Please help me solve a problem 
> which I have got when I tried to install Mapserver in my new Fedora 4. 
> 
> I got the following messages when I tried to install libJPEG and run make 
> -n install 
> 
> /usr/bin/install -c -m 644 jconfig.h /usr/local/include/jconfig.h
> /usr/bin/install -c -m 644 ./jpeglib.h /usr/local/include/jpeglib.h
> /usr/bin/install -c -m 644 ./jmorecfg.h /usr/local/include/jmorecfg.h
> /usr/bin/install -c -m 644 ./jerror.h /usr/local/include/jerror.h
> ./libtool --mode=install /usr/bin/install -c libjpeg.la 
> /usr/local/lib/libjpeg.la
> ./libtool --mode=install /usr/bin/install -c cjpeg /usr/local/bin/cjpeg
> ./libtool --mode=install /usr/bin/install -c djpeg /usr/local/bin/djpeg
> ./libtool --mode=install /usr/bin/install -c jpegtran 
> /usr/local/bin/jpegtran
> ./libtool --mode=install /usr/bin/install -c rdjpgcom 
> /usr/local/bin/rdjpgcom
> ./libtool --mode=install /usr/bin/install -c wrjpgcom 
> /usr/local/bin/wrjpgcom
> /usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
> /usr/bin/install -c -m 644 ./djpeg.1 /usr/local/man/man1/djpeg.1
> /usr/bin/install -c -m 644 ./jpegtran.1 /usr/local/man/man1/jpegtran.1
> /usr/bin/install -c -m 644 ./rdjpgcom.1 /usr/local/man/man1/rdjpgcom.1
> /usr/bin/install -c -m 644 ./wrjpgcom.1 /usr/local/man/man1/wrjpgcom.1 
> 
> I got the error message when I run make install
> /usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
> /usr/bin/install: cannot create regular file 
> `/usr/local/man/man1/cjpeg.1': No such file or directory
> make: *** [install] Error 1 
> 
> I have checked the /usr/local/man folder which contains only man3 and man5 
> sub-folders.
> Do I have to create a man1 sub-folder before runing make install? Could 
> please give me some advices?

Kurt, 

Is may be easier to locate an rpm to do the job.
You can try: 
http://rpm.pbone.net/index.php3/stat/4/idpl/1981298/com/libjpeg-6b-34.i386.r 
pm.html
if you don't have a CD.
I believe there is also a facility on Fedora named YUM which makes it eaven 
easier to install needed libraries and any dependecies.
You may also want to look at the 'FGS Linux installer' at maptools.org or 
the rpm's at mappinghacks.com. 

Lowell 



More information about the mapserver-users mailing list