Compiling apache 1.3.33, php and postgres
buszhet2001 at yahoo.com
buszhet2001 at yahoo.com
Thu Jan 27 18:44:02 PST 2005
Dear Jonas,
i'm just modify at src/Configure and src/helpers/GuessOS,
and it's work for me.
--- /usr/local/packages/src/web/tmp/apache_1.3.33/src/Configure
2004-10-18 23:39:37.000000000 +0700
+++ /usr/local/packages/src/web/tmp/patch/apache_1.3.33/src/Configure
2005-01-28 16:55:07.000000000 +0700
@@ -465,6 +465,13 @@
DBM_LIB=""
DB_LIB=""
;;
+ *-dragonfly*)
+ OS='DragonFly'
+ LIBS="$LIBS -lcrypt"
+ DBM_LIB=""
+ DB_LIB=""
+ DEF_WANTHSREGEX=no
+ ;;
*-openbsd*)
OS='OpenBSD'
DBM_LIB=""
@@ -1077,7 +1084,7 @@
LDFLAGS_SHLIB_EXPORT=""
SHLIB_SUFFIX_DEPTH=2
;;
- *-freebsd[3-9]*)
+ *-freebsd[3-9]*|*-dragonfly*)
LD_SHLIB="gcc"
CFLAGS_SHLIB="-fpic"
LDFLAGS_SHLIB="-shared"
--- /usr/local/packages/src/web/tmp/apache_1.3.33/src/helpers/GuessOS
2004-09-16 06:45:17.000000000 +0700
+++
/usr/local/packages/src/web/tmp/patch/apache_1.3.33/src/helpers/GuessOS
2005-01-28 16:51:27.000000000 +0700
@@ -173,6 +173,11 @@
echo "${MACHINE}-whatever-freebsd${FREEBSDVERS}"; exit 0
;;
+ DragonFly:*)
+ DFLYVERS=`echo ${RELEASE}|sed -e 's/[-(].*//'`
+ echo "${MACHINE}-whatever-dragonfly${DFLYVERS}"; exit 0
+ ;;
+
NetBSD:*:*:*486*)
echo "i486-whatever-netbsd"; exit 0
;;
Jonas Trollvik wrote:
I just installed apache, php and postgres on my dragonfly system.
Since I had to configure php for postgres I chose to manually fetch
the sources and install them on my own.
I had to modify all configure.guess files to make them recognize
dragonfly as a valid operating system and on a certain number of other
places.
How come none of these major vendors chose not to include dragonfly in
their configs? (everything was latest release)
Is it worth trying to sumbit patches to make them regonize dragonfly
as a valid os or will they reject them?
Best Regards
Jonas Trollvik
More information about the Users
mailing list