[ptx] libpano12-cvs: make error under cygwin
Gerhard Gaussling
ggrubbish at web.de
Sun Nov 14 17:05:30 GMT 2004
Hello All,
After the success under debian sarge/SID with the new libpano12
buildsystem, I'm wondering if I'll able to copmpile it under cygwin.
I had to add the following lines to my ~/.bashrc, because the libpano12
buildsystem lacks the fine definition which autotool versions should be
used, so the autotools wrappers of cygwin couldn't detect the needed
version accurately (see the link to a message of Corinna Vinshen):
# ~/.bashrc
#path
# http://www.cygwin.com/ml/cygwin-announce/2001/msg00177.html
# Lastly, if you want to FORCE the use of the stable or development
# version of the autotools, nothing could be simpler. Just
export PATH=/usr/autotool/devel/bin:${PATH}
export M4PATH=/usr/autotool/devel/share/autoconf
# for autoconf programs. Or
export PATH=/usr/autotool/devel/bin:${PATH}
export
M4PATH=/usr/autotool/devel/share/aclocal:/usr/share/aclocal:/usr/auto
tool/devel/share/automake:/usr/autotool/devel/share/automake/am:/usr/autotool/de
vel/share/autoconf
# for automake programs. Then just call your autotool.
This is the result of the ./configure:
libpano is configured as follows. Please verify that this configuration
matches your expectations.
Host system type : i686-pc-cygwin
Option Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=yes
Static libraries --enable-static=yes
JPEG --with-jpeg= have_jpeg = yes
PNG --with-png= have_png = yes
TIFF --with-tiff= have_tiff = yes
ZLIB --with-zlib= have_zlib = yes
JAVA --with-java= have_java = yes
Options used to compile and link:
PREFIX = /usr/local
VERSION = 2.7.0.7
CC = gcc
CFLAGS = -g -O2
CPPFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
LIBS =
CXX = g++
CXXFLAGS = -g -O2
JPEG_FLAGS = -I/usr/include -DHasJPEG
LIB_JPEG = -L/usr/lib -ljpeg
PNG_FLAGS = -I/usr/include -DHasPNG
LIB_PNG = -L/usr/lib -lpng
TIFF_FLAGS = -I/usr/include -DHasTIFF
LIB_TIFF = -L/usr/lib -ltiff
ZLIB_FLAGS = -I/usr/include -DHasZLIB
LIB_ZLIB = -L/usr/lib -lz
JAVA_FLAGS = -I/usr/include -I/usr/include/ -DHasJava
Illustration at xp-pro ~/src/libpano
$ make
make all-recursive
make[1]: Entering directory `/home/Illustration/src/libpano'
Making all in m4
make[2]: Entering directory `/home/Illustration/src/libpano/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Illustration/src/libpano/m4'
Making all in .
make[2]: Entering directory `/home/Illustration/src/libpano'
if /bin/bash ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I.
-I. -I.
-I/usr/include -I/usr/include/ -DHasJava -I/usr/include -DHasJPEG
-I/usr/include
-DHasPNG -I/usr/include -DHasTIFF -I/usr/include -DHasZLIB -g -O2
-MT filte
r.lo -MD -MP -MF ".deps/filter.Tpo" -c -o filter.lo filter.c; \
then mv -f ".deps/filter.Tpo" ".deps/filter.Plo"; else rm -f
".deps/filter.Tpo";
exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/
-DHasJava -I/usr
/include -DHasJPEG -I/usr/include -DHasPNG -I/usr/include -DHasTIFF
-I/usr/inclu
de -DHasZLIB -g -O2 -MT filter.lo -MD -MP -MF .deps/filter.Tpo -c
filter.c -DPI
C -o .libs/filter.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/
-DHasJava -I/usr
/include -DHasJPEG -I/usr/include -DHasPNG -I/usr/include -DHasTIFF
-I/usr/inclu
de -DHasZLIB -g -O2 -MT filter.lo -MD -MP -MF .deps/filter.Tpo -c
filter.c -o fi
lter.o >/dev/null 2>&1
if /bin/bash ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I.
-I. -I.
-I/usr/include -I/usr/include/ -DHasJava -I/usr/include -DHasJPEG
-I/usr/include
-DHasPNG -I/usr/include -DHasTIFF -I/usr/include -DHasZLIB -g -O2
-MT parse
r.lo -MD -MP -MF ".deps/parser.Tpo" -c -o parser.lo parser.c; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Plo"; else rm -f
".deps/parser.Tpo";
exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/
-DHasJava -I/usr
/include -DHasJPEG -I/usr/include -DHasPNG -I/usr/include -DHasTIFF
-I/usr/inclu
de -DHasZLIB -g -O2 -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c
parser.c -DPI
C -o .libs/parser.o
gcc: fork: Permission denied
make[2]: *** [parser.lo] Error 1
make[2]: Leaving directory `/home/Illustration/src/libpano'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Illustration/src/libpano'
make: *** [all] Error 2
ls -Rla in the libpano resulted in rw files and dirs for the actual user
Illustratrion. I'm not very familar with cygwin, so I don't know why
this error appears. Any clues?
TIA
regards
Gerhard Gaussling
More information about the ptX
mailing list