Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Search Forums:



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-18-2009
Registered User
 

Join Date: Dec 2009
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
installing Jpegsrc

Hi everyone, I am having trouble installing jpegsrc (and going by my internet searches this does not seem to be a particularly unusual problem!).

I am following the install.txt instructions for a unix machine (such as my new 27" imac). It states the following:

Quote:
If you are on a Unix machine, you may not need to read this file at all.
Try doing
./configure
make
make test
If that doesn't complain, do
make install
(better do "make -n install" first to see if the makefile will put the files
where you want them). Read further if you run into snags or want to customize
the code for your system.
Everything works fine until I get to the last step - when I run it I get the following (and I apologize for the lengthy quote):


Code:
make  install-exec-am install-data-am
:
test -z "/usr/local/jpeg6/lib" || ./install-sh -c -d "/usr/local/jpeg6/lib"
list='libjpeg.la'; test -n "/usr/local/jpeg6/lib" || list=; \
	list2=; for p in $list; do \
	  if test -f $p; then \
	    list2="$list2 $p"; \
	  else :; fi; \
	done; \
	test -z "$list2" || { \
	  echo " /bin/sh ./libtool   --mode=install /usr/bin/install -c  $list2 '/usr/local/jpeg6/lib'"; \
	  /bin/sh ./libtool   --mode=install /usr/bin/install -c  $list2 "/usr/local/jpeg6/lib"; \
	}
:
test -z "/usr/local/jpeg6/bin" || ./install-sh -c -d "/usr/local/jpeg6/bin"
list='cjpeg djpeg jpegtran rdjpgcom wrjpgcom'; test -n "/usr/local/jpeg6/bin" || list=; \
	for p in $list; do echo "$p $p"; done | \
	sed 's/$//' | \
	while read p p1; do if test -f $p || test -f $p1; \
	  then echo "$p"; echo "$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$//;s,x,x,;s/$//' | \
	sed 'N;N;N;s,\n, ,g' | \
	awk 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($2 == $4) files[d] = files[d] " " $1; \
	    else { print "f", $3 "/" $4, $1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$dir" = .; then dir=; else dir=/$dir; fi; \
	    test -z "$files" || { \
	    echo "  /bin/sh ./libtool   --mode=install /usr/bin/install -c $files '/usr/local/jpeg6/bin$dir'"; \
	     /bin/sh ./libtool   --mode=install /usr/bin/install -c $files "/usr/local/jpeg6/bin$dir" || exit $?; \
	    } \
	; done
/bin/sh /Users/danielheidt/Downloads/jpeg-7/install-sh -d /usr/local/jpeg6/include
/usr/bin/install -c -m 644 jconfig.h /usr/local/jpeg6/include/jconfig.h
:
test -z "/usr/local/jpeg6/include" || ./install-sh -c -d "/usr/local/jpeg6/include"
list='jerror.h jmorecfg.h jpeglib.h'; test -n "/usr/local/jpeg6/include" || list=; \
	for p in $list; do \
	  if test -f "$p"; then d=; else d="./"; fi; \
	  echo "$d$p"; \
	done | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \
	while read files; do \
	  echo " /usr/bin/install -c -m 644 $files '/usr/local/jpeg6/include'"; \
	  /usr/bin/install -c -m 644 $files "/usr/local/jpeg6/include" || exit $?; \
	done
:
test -z "/usr/local/jpeg6/share/man/man1" || ./install-sh -c -d "/usr/local/jpeg6/share/man/man1"
list=''; test -n "/usr/local/jpeg6/share/man/man1" || exit 0; \
	{ for i in $list; do echo "$i"; done; \
	l2='cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1'; for i in $l2; do echo "$i"; done | \
	  sed -n '/\.1[a-z]*$/p'; \
	} | while read p; do \
	  if test -f $p; then d=; else d="./"; fi; \
	  echo "$d$p"; echo "$p"; \
	done | \
	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$,1,;x' \
	      -e 's,\.[0-9a-z]*$,,;s,x,x,;G;s,\n,.,' | \
	sed 'N;N;s,\n, ,g' | { \
	list=; while read file base inst; do \
	  if test "$base" = "$inst"; then list="$list $file"; else \
	    echo " /usr/bin/install -c -m 644 '$file' '/usr/local/jpeg6/share/man/man1/$inst'"; \
	    /usr/bin/install -c -m 644 "$file" "/usr/local/jpeg6/share/man/man1/$inst" || exit $?; \
	  fi; \
	done; \
	for i in $list; do echo "$i"; done | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \
	while read files; do \
	  test -z "$files" || { \
	    echo " /usr/bin/install -c -m 644 $files '/usr/local/jpeg6/share/man/man1'"; \
	    /usr/bin/install -c -m 644 $files "/usr/local/jpeg6/share/man/man1" || exit $?; }; \
	done; }

When I examined the install file it doesn't have a lot of this code - so I'm not sure which file from the package its reprinting in the terminal.

This seems like a very strange error - is there perhaps a file that lacks a "#!/bin/sh" at the beginning that is thus being reprinted as a result? Or is there some other explanation???
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Re Installing windows XP after installing KUBUNTU sarbjit Ubuntu 3 06-05-2009 07:17 AM
Installing GUI koraykazgan BSD 4 12-05-2008 11:13 AM
Installing Firefox and now ended up installing latest glibc scriptingmani Linux 1 08-09-2007 04:28 PM
installing fcg please help fishman2001 UNIX for Dummies Questions & Answers 2 06-30-2006 05:59 AM
Need Help installing NIC Voldi SCO 1 08-24-2005 09:13 AM



All times are GMT -4. The time now is 03:18 AM.