Hello all, I was able to get his far:
holanyij:~# dpkg -S `which apxs` apache-dev: /usr/bin/apxs holanyij:~# dpkg -S `which apxs-ssl` apache-dev: /usr/bin/apxs-ssl holanyij:~# apt-get build-dep rivet Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded. holanyij:~# apt-get source rivet Reading package lists... Done Building dependency tree... Done Need to get 882kB of source archives. Get:1 http://ftp.debian.org sid/main rivet 0.5.0-3 (dsc) [523B] Get:2 http://ftp.debian.org sid/main rivet 0.5.0-3 (tar) [882kB] Fetched 2B in 0s (2B/s) Skipping unpack of already unpacked source in rivet-0.5.0 holanyij:~# cd rivet-0.5.0/ holanyij:~/rivet-0.5.0# diff debian/rules~ debian/rules 12c12 < ./configure --with-tcl=/usr/lib/tcl$(TCL_VERSION)/ --with-apxs=/usr/bin/apxs --enable-threads --with-tclsh=/usr/bin/tclsh$(TCL_VERSION) --- > ./configure --with-tcl=/usr/lib/tcl$(TCL_VERSION)/ --with-apxs=/usr/bin/apxs-ssl --enable-threads --with-tclsh=/usr/bin/tclsh$(TCL_VERSION) 36c36 < debian/tmp/`apxs -q LIBEXECDIR`/500mod_rivet.info --- > debian/tmp/`apxs-ssl -q LIBEXECDIR`/500mod_rivet.info holanyij:~/rivet-0.5.0# ./debian/rules binary dh_testdir /usr/bin/make make[1]: Entering directory `/home/root/rivet-0.5.0' Making all in src make[2]: Entering directory `/home/root/rivet-0.5.0/src' if /bin/sh ../libtool --mode=compile gcc -pipe -DPACKAGE_NAME=\"Rivet\" -DPACKAGE_TARNAME=\"rivet\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"Rivet\ 0.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rivet\" -DVERSION=\"0.5.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 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_DLFCN_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_ISOC99_SOURCE= -D_LARGEFILE64_SOURCE= -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DNAMEOFEXECUTABLE=\"/usr/bin/tclsh8.4\" -I. -I. -I"/usr/include/tcl8.4/tcl-private/generic" -DLINUX=22 -DEAPI -DTARGET="apache" -DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DAPACHE_SSL -O1 -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/apache-1.3 -DSTART_TAG='"<?"' -DEND_TAG='"?>"' -O2 -Wall -Wno-implicit-int -fPIC -MT mod_rivet_la-rivetCore.lo -MD -MP -MF ".deps/mod_rivet_la-rivetCore.Tpo" -c -o mod_rivet_la-rivetCore.lo `test -f 'rivetCore.c' || echo './'`rivetCore.c; \ then mv -f ".deps/mod_rivet_la-rivetCore.Tpo" ".deps/mod_rivet_la-rivetCore.Plo"; else rm -f ".deps/mod_rivet_la-rivetCore.Tpo"; exit 1; fi gcc -pipe -DPACKAGE_NAME=\"Rivet\" -DPACKAGE_TARNAME=\"rivet\" -DPACKAGE_VERSION=\"0.5.0\" "-DPACKAGE_STRING=\"Rivet 0.5.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rivet\" -DVERSION=\"0.5.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 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_DLFCN_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_ISOC99_SOURCE= -D_LARGEFILE64_SOURCE= "-DTCL_WIDE_INT_TYPE=long long" -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DNAMEOFEXECUTABLE=\"/usr/bin/tclsh8.4\" -I. -I. -I/usr/include/tcl8.4/tcl-private/generic -DLINUX=22 -DEAPI -DTARGET=apache -DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DAPACHE_SSL -O1 -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/apache-1.3 "-DSTART_TAG=\"<?\"" "-DEND_TAG=\"?>\"" -O2 -Wall -Wno-implicit-int -fPIC -MT mod_rivet_la-rivetCore.lo -MD -MP -MF .deps/mod_rivet_la-rivetCore.Tpo -c rivetCore.c -fPIC -DPIC -o .libs/mod_rivet_la-rivetCore.o In file included from /usr/include/sys/sem.h:28, from /usr/include/apache-1.3/ap_config.h:463, from /usr/include/apache-1.3/httpd.h:29, from rivetCore.c:27: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" rivetCore.c: In function 'Rivet_Upload': rivetCore.c:643: error: invalid lvalue in assignment make[2]: *** [mod_rivet_la-rivetCore.lo] Error 1 make[2]: Leaving directory `/home/root/rivet-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/root/rivet-0.5.0' make: *** [build-stamp] Error 2 What next? Regs, Csani On Wed, 13 Jul 2005 13:35:02 +0200, David N. Welton wrote > János Holányi wrote: > > Hello, > > > > I'd like to know how I can build an apache-ssl-enabled Debian package of > > Rivet > > using standard Debian building environment (Sarge) and tools. > > > > Any ideas? > > Well, I think the configuration information for Apache SSL should be > captured by the apxs that it ships with. So what you want to do is find > where its apxs script resides, and then, when you configure Rivet, do > something like: > > --with-apxs=/usr/bin/apxs-ssl > > That line is, for Debian, in debian/rules. > > See if that works and let us know, ok? > > -- > David N. Welton > - http://www.dedasys.com/davidw/ > > Apache, Linux, Tcl Consulting > - http://www.dedasys.com/ -- Debian Project (http://www.debian.org/) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
