Hi Christoph, I built the Apache Adaptor when I upgraded from 13.04 to 13.10 and didn't need to build again when upgrading from 13.10 to 14.04. This is the procedure I used. I hope this helps
Tim
# WebObjects Apache adaptors didn’t work with 2.4 and new ones don’t exist yet
so installed from source
cd wonder/Utilities/Adaptors
#install apxs
sudo apt-get install apache2-dev
nano make.config
#Near top
ADAPTOR_OS = LINUX
#In other LINUX section (after REDHAT 9 section) almost at bottom
ADAPTORS = Apache2.4
make
cd Apache2.4
sudo apxs -i -a -n WebObjects mod_WebObjects.la
#remove created load module because already there
rm /etc/apache2/mods-enabled/WebObjects.load
#follow instructions in README.txt re permissions to
/etc/apache2/mods-available/WebObjects.conf
<Location /apps/WebObjects>
Require all granted
</Location>
<Location /WebObjects>
Require all granted
</Location>
On 20 May 2014, at 19:41, CHRISTOPH WICK | i4innovation GmbH, Bonn
<[email protected]> wrote:
> Hi List,
>
> I'm trying to build the Apache Adaptor for Ubuntu 14 LTS manually following
> the instructions on
> http://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux
>
> If I try to execute "make CC=gcc", I get the following error:
>
>> gcc -I/usr/local/include -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DLINUX
>> -DCGI -c ../Adaptor/shmem.c
>> ../Adaptor/shmem.c:69:38: warning: initialization makes pointer from integer
>> without a cast [enabled by default]
>> static void * WOShmem_base_address = -1;
>> ^
>> ../Adaptor/shmem.c: In function 'WOShmem_alloc':
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 'void
>> *' and 'void *')
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void
>> *)offset))
>> ^
>> ../Adaptor/shmem.c:294:18: note: in expansion of macro 'offset_to_addr'
>> r = (Region *)offset_to_addr(0);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 'void
>> *' and 'void *')
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void
>> *)offset))
>> ^
>> ../Adaptor/shmem.c:305:19: note: in expansion of macro 'offset_to_addr'
>> ret = offset_to_addr(r->offset);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 'void
>> *' and 'void *')
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void
>> *)offset))
>> ^
>> ../Adaptor/shmem.c:330:41: note: in expansion of macro 'offset_to_addr'
>> newRegion = (Region *)offset_to_addr(r->nextRegion);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 'void
>> *' and 'void *')
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void
>> *)offset))
>> ^
>> ../Adaptor/shmem.c:336:25: note: in expansion of macro 'offset_to_addr'
>> ret = offset_to_addr(newRegion->offset);
>> ^
>> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have 'void
>> *' and 'void *')
>> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void
>> *)offset))
>> ^
>> ../Adaptor/shmem.c:345:24: note: in expansion of macro 'offset_to_addr'
>> r = (Region *)offset_to_addr(r->nextRegion);
>> ^
>> make[1]: *** [shmem.o] Error 1
>> make[1]: Leaving directory
>> `/tmp/wocommunity-wonder-a5ffd1f/Utilities/Adaptors/CGI'
>> make: *** [CGI] Error 2
>>
>
> Any ideas how to get this running?
>
> Thx,
> C.U.CW
> --
> The three great virtues of a programmer are Laziness, Impatience and Hubris.
> (Randal Schwartz)
>
>
> _______________________________________________
> 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/tim%40triptera.com.au
>
> This email sent to [email protected]
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ 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]
