Hmmm,

Seems my attachement was damaged.
here it is again
~/threebit-tutorials
$ tar zxf tutorials.tar.gz

~/threebit-tutorials
$ cd apache2_modules/tut1

~/threebit-tutorials/apache2_modules/tut1
$ aclocal

~/threebit-tutorials/apache2_modules/tut1
$ libtoolize

~/threebit-tutorials/apache2_modules/tut1
$ autoconf

~/threebit-tutorials/apache2_modules/tut1
$ automake -a
configure.in: installing `./install-sh'
configure.in: installing `./missing'
Makefile.am: installing `./depcomp'

~/threebit-tutorials/apache2_modules/tut1
$ ./configure --with-apache=/usr/local/apache2/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
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 build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 8192
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC...
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared
 libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared
 libraries... yes
checking for g++ option to produce PIC...
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared
 libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for Apache directory... APACHE found!
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

~/threebit-tutorials/apache2_modules/tut1
$ make
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_T
ARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\
" -DPACKAGE=\"mod_tut1\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAV
E_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLF
CN_H=1  -I. -I. -I/usr/local/apache2//include     -g -O2 -MT mod_tut1.lo -MD -MP
 -MF ".deps/mod_tut1.Tpo" -c -o mod_tut1.lo mod_tut1.c; \
then mv -f ".deps/mod_tut1.Tpo" ".deps/mod_tut1.Plo"; else rm -f ".deps/mod_tut1
.Tpo"; exit 1; fi
mkdir .libs
 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE
_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_tut1\" -DVERSION=\"1.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAV
E_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STD
INT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/local/apache2//include
 -g -O2 -MT mod_tut1.lo -MD -MP -MF .deps/mod_tut1.Tpo -c mod_tut1.c  -DPIC -o .
libs/mod_tut1.o
 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE
_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_tut1\" -DVERSION=\"1.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAV
E_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STD
INT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/local/apache2//include
 -g -O2 -MT mod_tut1.lo -MD -MP -MF .deps/mod_tut1.Tpo -c mod_tut1.c -o mod_tut1
.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o libmodtut1.la -rpath /us
r/local/lib  mod_tut1.lo
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l
ibraries
ar cru .libs/libmodtut1.a  mod_tut1.o
ranlib .libs/libmodtut1.a
creating libmodtut1.la
(cd .libs && rm -f libmodtut1.la && ln -s ../libmodtut1.la libmodtut1.la)

~/threebit-tutorials/apache2_modules/tut1
$ /usr/local/apache2/bin/apxs -i -a -n tut1 libmodtut1.la
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool
' libmodtut1.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libmodtut1.la /usr/local/apac
he2/modules/
cp .libs/libmodtut1.lai /usr/local/apache2/modules/libmodtut1.la
cp .libs/libmodtut1.a /usr/local/apache2/modules/libmodtut1.a
ranlib /usr/local/apache2/modules/libmodtut1.a
chmod 644 /usr/local/apache2/modules/libmodtut1.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
Warning!  dlname not found in /usr/local/apache2/modules/libmodtut1.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libmodtut1.so
chmod: cannot access `/usr/local/apache2/modules/libmodtut1.so': No such file or
 directory
apxs:Error: Command failed with rc=65536
.

~/threebit-tutorials/apache2_modules/tut1
$
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to