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; }