here I see the symbol: ap_snprintf is undefined. so, this is a different error. I would like to try and solve the issue when using the apache instance under /opt/lampp but have also tried to use the base version of apache2 on my ubuntu system.
Different error, but still preventing me from building and using the WebObject module in apache2. Thomas On Oct 6, 2013, at 2:21 PM, Thomas Peters <[email protected]> wrote: > I tried to install the module mod_WebObjects.so into the standard web server > built into Ubuntu: > > thomas@ubuntu-Dell-DM061:/usr/sbin$ sudo apache2ctl start > apache2: Syntax error on line 239 of /etc/apache2/apache2.conf: Syntax error > on line 1 of /etc/apache2/mods-enabled/WebObjects.load: Cannot load > /usr/lib/apache2/modules/mod_WebObjects.so into server: > /usr/lib/apache2/modules/mod_WebObjects.so: undefined symbol: ap_snprintf > Action 'start' failed. > The Apache error log may have more information. > > when installing, I get the following. I had done it once before, so the link > failed. > > thomas@ubuntu-Dell-DM061:~/Development/ApacheModules/src/wocommunity-wonder-6c85da9/Utilities/Adaptors/Apache2$ > sudo apxs2 -i -a -n WebObjects mod_WebObjects.la > Use of uninitialized value $includedir in concatenation (.) or string at > (eval 9) line 1. > /usr/share/apache2/build/instdso.sh > SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_WebObjects.la > /usr/lib/apache2/modules > /usr/share/apr-1.0/build/libtool --mode=install cp mod_WebObjects.la > /usr/lib/apache2/modules/ > libtool: install: cp .libs/mod_WebObjects.so > /usr/lib/apache2/modules/mod_WebObjects.so > libtool: install: cp .libs/mod_WebObjects.lai > /usr/lib/apache2/modules/mod_WebObjects.la > libtool: finish: > PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" > ldconfig -n /usr/lib/apache2/modules > ---------------------------------------------------------------------- > Libraries have been installed in: > /usr/lib/apache2/modules > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,-rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > See any operating system documentation about shared libraries for > more information, such as the ld(1) and ld.so(8) manual pages. > ---------------------------------------------------------------------- > chmod 644 /usr/lib/apache2/modules/mod_WebObjects.so > [preparing module `WebObjects' in /etc/apache2/mods-available/WebObjects.load] > Module WebObjects already enabled > > > On Oct 6, 2013, at 1:10 PM, Thomas Peters <[email protected]> wrote: > >> Hi all, >> I am getting back into WO and trying to install a WO deployment into my >> Ubuntu 13.04 desktop. I am using wiki.wocommunity.org > Deploying on Linux >> article. Trying to to install the apache2 module for WebObjects. It >> appears that this error has something to do with the xampp apsx script. I >> have installed XAMPP 1.8.3-1 and the paths to the apache2 instance are not >> the same as a s when using a standard apache2 installation. >> >> Apache is embedded into /opt/lamp along with MySQL and an FTP server. It's >> an easy install, but now I ma trying to install mod_WebObjects.so >> >> I have modified [webObjectSrc directory]/Utilities/Adaptors/make.config to >> point to my instance of apache2. >> >> # This file defines the basic configuration for building the adaptors. >> # It defines the architecture (OS), which adaptor(s) to build, and other >> # misc. configuration info. that is needed by other project makefiles. >> >> # Set the platform you are building on >> # possible values: MINGW MACOS LINUX WINDOWS HPUX SOLARIS FreeBSD >> # >> ADAPTOR_OS = LINUX >> >> # Set a specific architecture to building for. If you comment this out it >> will attempt to discover available architectures. >> # Some possible architectures are: x86_64 i386 ppc7400 >> # If you specific more than one architecture it will build a "fat" binary >> with all the architectures contained in one file. >> RC_ARCHS=x86_64 i386 >> >> ifeq "MINGW" "${ADAPTOR_OS}" >> OS = ${ADAPTOR_OS} >> endif >> >> # Define the OS. >> ifeq "" "${OS}" >> OS = ${ADAPTOR_OS} >> endif >> >> # Define some generic defaults >> # DEBUG_FLAG = -g >> APXS1.3 = ${APXS} >> APXS2.2 = ${APXS} >> APACHEINCLUDE_DIR = `${APXS} -q INCLUDEDIR` >> APACHEMODULE_DIR = `${APXS} -q LIBEXECDIR` >> >> # For mixed mode with WebObjects 4 Apps as well when using static >> configuration >> # the old refuseNewSession Attribute on instances can be reactivated by >> removing >> # the comment from this line >> #CFLAGS += -DSUPPORT_REFUSENEWSESSION_ATTR >> >> # Based on the OS, determine which adaptor(s) we build, and other settings. >> # NOTE: if you want to recompile the Apache 1.3 module on Mac OS X 10.5, >> you're >> # going to have to download Apache 1.3 from the foundation and link against >> those binaries. >> >> # MacOS X >> ifeq "MACOS" "$(OS)" >> >> ifeq "${RC_CFLAGS}" "" >> ADAPTORS = CGI FastCGI Apache2.2 >> else >> ADAPTORS = CGI Apache Apache2.2 >> >> endif >> >> # Default path for apxs (Apache 1.3) on version 10.2 - 10.4 >> #APXS = /opt/lampp/apxs >> >> # Default path for apxs on version 10.5 Server for Apache 1.3 >> APXS1.3 = /usr/sbin/apxs-1.3 >> >> # Default path for apxs on version 10.5 for Apache 2.2 >> APXS2.2 = /opt/lamp/apxs >> >> APACHEINCLUDE_DIR = /opt/lampp/include #override default include dir >> APACHEMODULE_DIR = /opt/lampp/libexec >> >> ifeq "${RC_ARCHS}" "" >> RC_ARCHS = $(shell bash -c '/usr/bin/lipo -info /opt/lampp/httpd | sed -e >> "s/^.*: //"') >> endif >> ifeq "${RC_CFLAGS}" "" >> RC_CFLAGS = $(patsubst %, -arch %, ${RC_ARCHS}) >> endif >> >> CC = gcc >> >> endif >> >> # Windows >> ifeq "WINDOWS" "${OS}" >> CC = gcc >> EXESUFFIX = .exe >> ADAPTORS = CGI IIS >> endif >> >> ifeq "SOLARIS" "$(OS)" >> ADAPTORS = CGI Apache2.2 >> # Default path for apxs on Solaris 10. >> APXS = $(shell bash -c 'if [ -e /usr/bin/apxs ]; then echo >> /usr/bin/apxs;else echo /opt/webstack/bin/apxs;fi;') >> CC = /opt/SUNWspro/bin/cc >> endif >> >> ifeq "HPUX" "$(OS)" >> ADAPTORS = CGI NSAPI >> endif >> >> # LINUX >> ifeq "LINUX" "$(OS)" >> CC = gcc >> CFLAGS += -I/usr/local/include >> LDFLAGS += -L/usr/local/lib >> >> # REDHAT 9 >> ifeq "REDHAT9" "$(OS_VERSION)" >> ADAPTORS = CGI Apache2 >> APXS = /usr/sbin/apxs >> APACHEINCLUDE_DIR = /usr/include/httpd >> >> # OTHER LINUX >> else >> >> ADAPTORS = CGI Apache2.2 >> APXS = $(shell bash -c 'if [ -e /usr/bin/apxs2 ]; then echo /usr/bin/apxs2; >> else if [ -e /opt/lampp/bin/apxs ]; then echo /opt/lampp/bin/apxs; else if [ >> -e /usr/bin/apxs ]; then echo /usr/bin/apxs; else if [ -d /usr/local/apache >> ]; then echo /usr/local/apache/bin/apxs;else echo /usr/sbin/apxs;fi;fi;fi') >> endif >> >> endif >> #end Linux >> >> ifeq "FreeBSD" "${OS}" >> CFLAGS += -I/usr/local/include >> LDFLAGS += -L/usr/local/lib >> APXS ?= /usr/local/sbin/apxs >> ADAPTORS ?= CGI Apache2.2 >> endif >> >> # If you are building NSAPI uncomment this and specify where Netscape is >> installed. >> # This is typically /opt/netscape/suitespot >> # NS_ROOT = >> >> ifeq "MINGW" "${OS}" >> CC = gcc >> LIBS += -lwsock32 >> EXESUFFIX = .exe >> ADAPTORS = CGI IIS >> endif >> >> # default compiler is cc >> ifeq "${CC}" "" >> CC = cc >> endif >> >> I am getting the following output error: >> thomas@ubuntu-Dell-DM061:~/Development/ApacheModules/src/wocommunity-wonder-6c85da9/Utilities/Adaptors/Apache2$ >> >> sudo /opt/lampp/bin/apxs -i -a -n WebObjects mod_WebObjects.la >> /opt/lampp/build/instdso.sh SH_LIBTOOL='/opt/lampp/build/libtool' >> mod_WebObjects.la /opt/lampp/modules >> /opt/lampp/build/libtool --mode=install install mod_WebObjects.la >> /opt/lampp/modules/ >> /opt/lampp/build/libtool: 3215: /opt/lampp/build/libtool: >> install_prog+=install: not found >> /opt/lampp/build/libtool: 3235: /opt/lampp/build/libtool: files+= >> mod_WebObjects.la: not found >> libtool: install: you must specify an install program >> libtool: install: Try `libtool --help --mode=install' for more information. >> apxs:Error: Command failed with rc=65536 >> Thanks so much… >> Thomas >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/thomasg_peters%40msn.com >> >> This email sent to [email protected] > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/thomasg_peters%40msn.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
