FWD: AIX partly success
teb
teb at mallit.fr.umn.edu
Wed Jan 17 07:20:39 PST 2001
------------- Begin Forwarded Message -------------
From: "Peter H.M. Jacobs" <peter.jacobs at ah21sn06.kpnhs.nl>
Date: Wed, 17 Jan 2001 15:43:58 -0800
To: mapserver-info at lists.gis.umn.edu
Subject: AIX partly success
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Hello All,
I've come a bit further on the AIX problems, but now get the
message on my
browser : php_mapscrtipt.so doesn't seem to be a php library
The problems I encounter are:
--> First of all the makefile script of php_mapscript says : no
rules to make
target. This can be solved to comment the line
CFLAGS := $(CFLAGS) $(MS_DEFINE) $(MS_INC) $(PHP_INC) I just
include these on
top of the mapfile at the CFLAGS command. Are there people who
experienced
the same problems?
-->I furthermore had to recompile both Apache as PHP to include
the
EXTRA_LDFLAGS. This seems to work OK, so I don't think this is
the problem
--> I couldn't just at the perl.exp, because it didn't had a
path.
Regards,
Peter
#################################################################
######################################
Can anyone see what the problem is with my php_mapscript Makefile
on aix 4.3
# Generated automatically from Makefile.in by configure.
# Run ./configure in the main MapServer directory to turn this
Makefile.in
# into a proper Makefile
#
# This is an adapted version of php-3.0.14/dl/Makefile.tmpl for
the
# MapServer php_mapscript.so module.
#
# $Id: Makefile.in,v 1.7 2000/10/16 14:05:52 dan Exp $
#
PERL_INC=/usr/local/lib/perl5/5.00502/aix/CORE
CC = cc -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=8192-
I/usr/local/include -I. -I..
LD = ld -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(PERL_INC)/perl.exp -b noentry -lc -L/usr/local/lib
RUNPATHS=
#
# Set PHP_SRC_DIR to point to the root of the PHP source tree
#
PHP_SRC_DIR = /home5/www/prod/src/peter/../php-4.0.4pl1
PHP_INC = -I$(PHP_SRC_DIR) -I$(PHP_SRC_DIR)/dl
-I$(PHP_SRC_DIR)/main \
-I$(PHP_SRC_DIR)/Zend -I$(PHP_SRC_DIR)/include \
-I$(PHP_SRC_DIR)/TSRM
-I/home5/www/prod/src/peter/../apache_1.3.14/src/include
#
# Set MapServer extensions parameters. See main MapServer
Makefile for
# more details...
# Common defaults are:
# MS_DEFINE = -DUSE_TTF -DUSE_TIFF -DUSE_EPPL -DUSE_GD_1_2
# MS_INCLUDE = -I../.. -I../../gd-1.2 -I../../gdft
# MS_LIBS = -L../.. -lmap -L../../gdft -lgdft -ltiff -lttf
-L../../gd-1.2 -lgd
#
MS_DEFINE = -DUSE_TTF -DUSE_EPPL -DUSE_TIFF -DUSE_GD_1_2
MS_INC = -I/home5/www/prod/src/peter
-I/home5/www/prod/src/peter/gdft
-I/home5/www/prod/src/peter/gd-1.2
MS_LIBS = $(RUNPATHS) -L/home5/www/prod/src/peter -lmap
-L/home5/www/prod/src/peter/gdft -lgdft -lttf -ltiff
-L/home5/www/prod/src/peter/gd-1.2 -lgd -lm
CFLAGS = -O2 -Wall -DCOMPILE_DL=1 -DPHP4 $(MS_DEFINE) $(MS_INC)
$(PHP_INC)
#
# The rest of the file should not have to be edited...
#
#CFLAGS := $(CFLAGS) $(MS_DEFINE) $(MS_INC) $(PHP_INC)
all: php_mapscript.so
PHPMS_OBJS = php_mapscript_util.o php_mapscript.o mapscript_i.o
php_mapscript.so: $(PHPMS_OBJS) ../../libmap.a
$(LD) -o $@ $(PHPMS_OBJS) $(MS_LIBS)
%.o: %.c php_mapscript_util.h php_mapscript.h
$(CC) $(CFLAGS) -c -o $@ $<
clean:
-rm -f *.so *.o perl.out
------------- End Forwarded Message -------------
More information about the MapServer-users
mailing list