找回密码
 注册
查看: 2167|回复: 17

MagicLinux和DSO

[复制链接]
发表于 2004-4-2 11:14:43 | 显示全部楼层 |阅读模式
说点不好听的,现在我还没有一个足够强的理由转到ML上。现在装MagicLinux差不多纯粹是出于心理需求(对国内开源社区的支持),而不是应用的需要。

1.ML的开发团队组织似乎有问题,就几个重量级人苦撑物,而没多少人能够提供帮助,谁稍有差池,项目就可能半途而废。

2.ML似乎和RF一样不支持DSO(如果我“configure”的时候没弄错),而DSO是Apache和Tomcat整合的关键,这是ML的方向问题还是没考虑到?
发表于 2004-4-2 12:44:23 | 显示全部楼层
去哪儿找 ML 的开发人员?

1) http://www.magiclinux.org/drupal/
开发人员隔三差五都会来看一下

2) 邮件列表
一定会收到,但不一定会回

3) IRC irc.linuxfans.org
时不时的能偶遇几个

4) MSN Messager
ML 的开发人员一般没有明显的政治倾向,所以 MSN 也是最常用的交流工具之一

所有人都是业余时间做的兴趣工作,所以请不要指望某时某地一定能遇到某人
回复

使用道具 举报

发表于 2004-4-2 14:25:47 | 显示全部楼层
DSO是什么意思??
回复

使用道具 举报

发表于 2004-4-2 14:52:39 | 显示全部楼层
DSO跟系统有什么关系?你的apache配置错了。
回复

使用道具 举报

发表于 2004-4-2 15:22:42 | 显示全部楼层
cjacker终于露面了,工作搞定了吗? 1.2 pre6什么时候放?
回复

使用道具 举报

发表于 2004-4-2 22:12:12 | 显示全部楼层
樱家冢:请和我联系!
回复

使用道具 举报

发表于 2004-4-3 12:05:45 | 显示全部楼层
有事吗?我加了你的QQ,是10649455没错吧?另外,你的MSN是什么?我平常都用这个。
回复

使用道具 举报

 楼主| 发表于 2004-4-9 00:12:23 | 显示全部楼层
[quote:25eda80c66="cjacker"]DSO跟系统有什么关系?你的apache配置错了。[/quote]

那你能帖出你“configure”的各种参数和屏幕输出结果吗?

我的Apache能跑,Tomcat能跑,就是整合不了。我知道的选项差不多全开了。

我的在下面,你给看看错在哪里?

系统:
Linux-2.4.8-20
编译器:
gcc-3.2-9
库:
glibc-2.3-3
glib-1.2.10-8

我资料查了不少(英文的查阅太慢,所以虽然也看了,主要看的还是中文),屡次编译安装依然失败,现在把命令、细节和疑点都记录下来了,帮忙看看。

[root@TFW-RFL40 httpd-2.0.47]#./configure --prefix=/usr3/apache2.0.47 --datadir=/usr3/apache2.0.47/share --enable-auth-anon --enable-auth-dbm --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-ext-filter --enable-proxy --enable-proxy-connect --enable-proxy-http --enable-http --enable-dav --enable-rewrite --enable-shared=max --enable-module=so > /usr2/tmp/config.log
[root@TFW-RFL40 httpd-2.0.47]#

########################################
########################################
完整的记录

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.4
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
Applying APR hints file rules for i686-pc-linux-gnu
  setting CPPFLAGS to "-DLINUX=2"
  adding "-D_REENTRANT" to CPPFLAGS
(Default will be unix)
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for ar... ar
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether system uses EBCDIC... no
performing libtool configuration...
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool

Check for compiler flags...
checking for res_init in -lresolv... no
checking for gethostbyname in -lnsl... yes
checking for library containing gethostname... none required
checking for socket in -lsocket... no
checking for library containing crypt... -lcrypt
checking for main in -ltruerand... no
checking for library containing modf... none required
checking for library containing sqrt... -lm

Checking for Threads...
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...
checking for pthread.h... (cached) yes
checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for pthread_key_delete... yes
checking for pthread_rwlock_init... yes
  adding "-D_XOPEN_SOURCE=500" to CPPFLAGS
  adding "-D_BSD_SOURCE" to CPPFLAGS
  adding "-D_SVID_SOURCE" to CPPFLAGS
APR will use threads
checking for readdir in -lc_r... no
checking for gethostbyname in -lc_r... no
checking for gethostbyaddr in -lc_r... no
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking for sigsuspend... yes
checking for sigwait... yes
checking for poll... yes
checking for getpwnam_r... yes
checking for getpwuser_id_r... yes
checking for getgrnam_r... yes
checking for getgrgid_r... yes

Checking for Shared Memory Support...
checking for library containing shm_open... -lrt
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking for mmap... yes
checking for munmap... yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
checking for /dev/zero... yes
checking for mmap that can map /dev/zero... yes
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON
decision on namebased memory allocation method... SysV IPC shmget()
checking for alloca... no
checking for calloc... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for setsid... yes
checking for isinf... yes
checking for isnan... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for writev... yes
checking for sendfilev in -lsendfile... no
checking for sendfile... yes
checking for send_file... no
checking for sendfilev... no
checking for sigaction... yes
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for fork... yes
checking for inet_addr... yes
checking for inet_network... yes
checking for _getch... no
checking for strerror_r... yes
checking for type of return code from strerror_r... pointer
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data_gnu_source
  adding "-D_GNU_SOURCE" to CPPFLAGS
checking for mmap... (cached) yes
checking for memmove... yes
checking for getpass... yes
checking for getpassphrase... no
checking for gmtime_r... yes
checking for localtime_r... yes
checking for hstrerror... yes
checking for mkstemp... yes
checking whether sigwait takes one argument... no
checking for inode member of struct dirent... d_fileno
checking for file type member of struct dirent... d_type
checking for ANSI C header files... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking ByteOrder.h usability... no
checking ByteOrder.h presence... no
checking for ByteOrder.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysapi.h usability... no
checking sysapi.h presence... no
checking for sysapi.h... no
checking sysgtime.h usability... no
checking sysgtime.h presence... no
checking for sysgtime.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tpfeq.h usability... no
checking tpfeq.h presence... no
checking for tpfeq.h... no
checking tpfio.h usability... no
checking tpfio.h presence... no
checking for tpfio.h... no
checking for unistd.h... (cached) yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for kernel/OS.h... (cached) no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
checking netinet/sctp_uio.h usability... no
checking netinet/sctp_uio.h presence... no
checking for netinet/sctp_uio.h... no
checking for sys/file.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for netinet/tcp.h... yes
checking for h_errno in netdb.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for user_id_t in sys/types.h... yes
checking for ssize_t... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether setpgrp takes no argument... yes
checking for socklen_t... yes
checking whether system defines INADDR_NONE... yes
checking for void*... yes
checking size of void*... 4
checking for char... yes
checking size of char... 1
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for short... yes
checking size of short... 2
checking for long double... yes
checking size of long double... 12
checking for long long... yes
checking size of long long... 8
checking for INT64_C... yes
checking size of ssize_t... 4
checking size of size_t... 4
checking size of off_t... 4
checking size of pid_t... 4
checking for strnicmp... no
checking for strncasecmp... yes
checking for stricmp... (cached) no
checking for strcasecmp... (cached) yes
checking for strdup... yes
checking for strstr... yes
checking for memchr... yes
checking for strtoll... yes

Checking for DSO...
checking for NSLinkModule... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
  adding "-ldl" to LIBS
checking for dlsym... yes

Checking for Processes...
checking for waitpid... yes
checking for Variable Length Arrays... yes
checking struct rlimit... yes

Checking for Locking...
checking for semget... yes
checking for semctl... yes
checking for flock... yes
checking for semaphore.h... (cached) yes
checking for sem_close... yes
checking for sem_unlink... yes
checking for sem_post... yes
checking for sem_wait... yes
checking for working sem_open... no
checking for union semun in sys/sem.h... no
checking for LOCK_EX in sys/file.h... yes
checking for F_SETLK in fcntl.h... yes
checking for SEM_UNDO in sys/sem.h... yes
checking for POLLIN in poll.h sys/poll.h... yes
checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
checking for pthread_mutexattr_setpshared... yes
checking for working PROCESS_SHARED locks... no
decision on apr_lock implementation method... SysV IPC semget()
checking if all interprocess locks affect threads... no
checking if POSIX sems affect threads in the same process... no
checking if SysV sems affect threads in the same process... no
checking if fcntl locks affect threads in the same process... no
checking if flock locks affect threads in the same process... no
checking for entropy source... /dev/random

Checking for Time Support...
checking for tm_gmtoff in struct tm... yes

Checking for Networking support...
checking for in_addr in netinet/in.h... yes
checking if fd == socket on this platform... yes
checking for sockaddr sa_len... no
checking style of gethostbyname_r routine... glibc2
checking 3rd argument to the gethostbyname_r routines... char
checking if TCP_NODELAY setting is inherited from listening sockets... yes
checking if O_NONBLOCK setting is inherited from listening sockets... no
checking for TCP_CORK in netinet/tcp.h... yes
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking if SCTP protocol is supported... no
checking for set_h_errno... no
checking for presence of retrans/retry fields in res_state/resolv.h ... yes

Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... yes
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking if APR supports IPv6... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes

Restore user-defined environment settings...
  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
  restoring CFLAGS to ""
  setting EXTRA_CFLAGS to "-g -O2 -pthread"
  restoring LDFLAGS to ""
  setting EXTRA_LDFLAGS to ""
  restoring LIBS to ""
  setting EXTRA_LIBS to "-lrt -lm -lcrypt -lnsl  -ldl"
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to ""

Construct Makefiles and header files.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating strings/Makefile
config.status: creating passwd/Makefile
config.status: creating tables/Makefile
config.status: creating build/Makefile
config.status: creating file_io/unix/Makefile
config.status: creating network_io/unix/Makefile
config.status: creating threadproc/unix/Makefile
config.status: creating misc/unix/Makefile
config.status: creating locks/unix/Makefile
config.status: creating time/unix/Makefile
config.status: creating mmap/unix/Makefile
config.status: creating shmem/unix/Makefile
config.status: creating user/unix/Makefile
config.status: creating memory/unix/Makefile
config.status: creating atomic/unix/Makefile
config.status: creating poll/unix/Makefile
config.status: creating support/unix/Makefile
config.status: creating dso/unix/Makefile
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating apr-config
config.status: creating include/arch/unix/apr_private.h
config.status: executing default commands
srclib/apr configured properly
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
  setting LDFLAGS to " "
  setting INCLUDES to " -I/usr3/tmp/httpd-2.0.47/srclib/apr/include "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... reconfig
configuring package in srclib/apr-util now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for working mkdir -p... yes
APR-util Version: 0.9.4
checking for chosen layout... apr-util
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for db_create in -ldb4... no
checking for db_create in -ldb-4.0... yes
checking for Berkeley DB... found db4
checking for default DBM... sdbm (default)
  setting APRUTIL_EXPORT_LIBS to "-lgdbm"
  setting APRUTIL_LIBS to "-lgdbm"
  adding "-ldb-4.0" to APRUTIL_EXPORT_LIBS
  adding "-ldb-4.0" to APRUTIL_LIBS
checking for Expat in /usr... yes
  adding "-lexpat" to APRUTIL_EXPORT_LIBS
  setting APRUTIL_LDFLAGS to ""
  adding "/usr/lib/libexpat.la" to APRUTIL_LIBS
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for type of inbuf parameter to iconv... char **
checking for iconv.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for CODESET in langinfo.h... yes
checking for library containing crypt... -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data
  adding "/usr3/tmp/httpd-2.0.47/srclib/apr/libapr-0.la" to APRUTIL_LIBS
  adding "-lrt" to APRUTIL_LIBS
  adding "-lm" to APRUTIL_LIBS
  adding "-lcrypt" to APRUTIL_LIBS
  adding "-lnsl" to APRUTIL_LIBS
  adding "-ldl" to APRUTIL_LIBS
configure: creating ./config.status
config.status: creating export_vars.sh
config.status: creating apu-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating Makefile
config.status: creating buckets/Makefile
config.status: creating crypto/Makefile
config.status: creating dbm/Makefile
config.status: creating dbm/sdbm/Makefile
config.status: creating encoding/Makefile
config.status: creating hooks/Makefile
config.status: creating ldap/Makefile
config.status: creating uri/Makefile
config.status: creating xml/Makefile
config.status: creating misc/Makefile
config.status: creating strmatch/Makefile
config.status: creating xlate/Makefile
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: include/private/apu_config.h is unchanged
config.status: executing default commands
srclib/apr-util configured properly
  adding "-I/usr3/tmp/httpd-2.0.47/srclib/apr-util/include" to INCLUDES
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E

Configuring PCRE regular expression library ...

configuring package in srclib/pcre now
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcre.h
config.status: creating pcre-config
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
srclib/pcre configured properly

Configuring Apache httpd ...

  adding "-I." to INCLUDES
  adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES
  adding "-I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME)" to INCLUDES
  adding "-I$(top_srcdir)/modules/http" to INCLUDES
  adding "-I$(top_srcdir)/modules/filters" to INCLUDES
  adding "-I$(top_srcdir)/modules/proxy" to INCLUDES
  adding "-I$(top_srcdir)/include" to INCLUDES

Applying OS-specific hints for httpd ...

  forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
checking for rm... /bin/rm
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
  setting NOTEST_CPPFLAGS to "-DAP_HAVE_DESIGNATED_INITIALIZER"
checking for getpwnam... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for bindprocessor... no
checking for prctl... yes
checking for timegm... yes
checking for tm_gmtoff in struct tm... yes
checking whether to enable mod_access... yes (default)
checking whether to enable mod_auth... yes (default)
checking whether to enable mod_auth_anon... yes (default)
checking whether to enable mod_auth_dbm... yes (default)
checking whether to enable mod_auth_digest... no
  setting LT_LDFLAGS to "-export-dynamic"
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... yes (default)
checking whether to enable mod_echo... no
checking whether to enable mod_charset_lite... no
checking whether to enable mod_cache... yes (default)
checking whether to enable mod_disk_cache... yes (default)
checking whether to enable mod_mem_cache... yes (default)
checking whether to enable mod_example... no
checking whether to enable mod_case_filter... no
checking whether to enable mod_case_filter_in... no
checking whether to enable mod_ldap... no
checking whether to enable mod_auth_ldap... no
checking whether to enable mod_ext_filter... yes (default)
checking whether to enable mod_include... yes (default)
checking whether to enable mod_deflate... no
checking whether to enable mod_log_config... yes (default)
checking whether to enable mod_logio... no
checking whether to enable mod_env... yes (default)
checking whether to enable mod_mime_magic... no
checking whether to enable mod_cern_meta... no
checking whether to enable mod_expires... no
checking whether to enable mod_headers... no
checking whether to enable mod_usertrack... no
checking whether to enable mod_unique_id... no
checking whether to enable mod_setenvif... yes (default)
checking whether to enable mod_proxy... yes (default)
checking whether to enable mod_proxy_connect... yes (default)
checking whether to enable mod_proxy_ftp... yes (default)
checking whether to enable mod_proxy_http... yes (default)
checking whether to enable mod_ssl... no
checking whether to enable mod_optional_hook_export... no
checking whether to enable mod_optional_hook_import... no
checking whether to enable mod_optional_fn_import... no
checking whether to enable mod_optional_fn_export... no
checking whether to enable mod_bucketeer... no
checking for target platform... unix
checking for rlim_t... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/sem.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for setsid... yes
checking for killpg... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for unistd.h... (cached) yes
checking for syslog... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for times... yes
checking which MPM to use... prefork
checking whether to enable mod_http... yes
checking whether to enable mod_mime... yes (default)
checking for extra modules... no extra modules
checking whether to enable mod_dav... yes (default)
  adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES
checking whether to enable mod_status... yes (default)
checking whether to enable mod_autoindex... yes (default)
checking whether to enable mod_asis... yes (default)
checking whether to enable mod_info... no
checking whether to enable mod_suexec... no
checking whether to enable mod_cgi... yes (default)
checking whether to enable mod_cgid... no
checking whether to enable mod_dav_fs... yes (default)
checking whether to enable mod_vhost_alias... no
checking whether to enable mod_negotiation... yes (default)
checking whether to enable mod_dir... yes (default)
checking whether to enable mod_imap... yes (default)
checking whether to enable mod_actions... yes (default)
checking whether to enable mod_speling... no
checking whether to enable mod_userdir... yes (default)
checking whether to enable mod_alias... yes (default)
checking whether to enable mod_rewrite... yes (default)
checking whether to enable mod_so... yes
checking whether byte ordering is bigendian... no

Restore user-defined environment settings...

  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
  restoring CFLAGS to ""
  setting EXTRA_CFLAGS to " -g -O2 -pthread"
  restoring CXXFLAGS to ""
  setting EXTRA_CXXFLAGS to ""
  restoring LDFLAGS to ""
  setting EXTRA_LDFLAGS to " "
  restoring LIBS to ""
  setting EXTRA_LIBS to ""
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to " -I/usr3/tmp/httpd-2.0.47/srclib/apr/include  -I/usr3/tmp/httpd-2.0.47/srclib/apr-util/include -I. -I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME) -I$(top_srcdir)/modules/http -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/include -I$(top_srcdir)/modules/dav/main"

Construct makefiles and header files...

creating config_vars.mk
configure: creating ./config.status
creating modules/aaa/Makefile
creating modules/arch/win32/Makefile
creating modules/cache/Makefile
creating modules/echo/Makefile
creating modules/experimental/Makefile
creating modules/filters/Makefile
creating modules/loggers/Makefile
creating modules/metadata/Makefile
creating modules/proxy/Makefile
creating modules/ssl/Makefile
creating modules/test/Makefile
creating os/unix/Makefile
creating server/mpm/Makefile
creating server/mpm/prefork/Makefile
creating modules/http/Makefile
creating modules/dav/main/Makefile
creating modules/generators/Makefile
creating modules/dav/fs/Makefile
creating modules/mappers/Makefile
creating Makefile
creating modules/Makefile
creating srclib/Makefile
creating os/beos/Makefile
creating os/os2/Makefile
creating os/Makefile
creating os/unix/Makefile
creating server/Makefile
creating support/Makefile
creating srclib/pcre/Makefile
creating test/Makefile
config.status: creating docs/conf/httpd-std.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/logresolve.pl
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/rules.mk
config.status: creating include/ap_config_auto.h
config.status: include/ap_config_auto.h is unchanged
config.status: executing default commands

########################################
########################################
最大的疑点

Checking for DSO...
checking for NSLinkModule... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes

请老大给解释一下。感激~
回复

使用道具 举报

发表于 2004-4-9 07:29:12 | 显示全部楼层
嗯,看到了,可能确实是magic的某些包的问题哦。
checking for NSLinkModule... no
checking for shl_load in -ldld... no
checking for dlopen... no

这三个东东是啥咪呢?
回复

使用道具 举报

 楼主| 发表于 2004-4-9 13:10:07 | 显示全部楼层
我真不清楚。只能估计是DSO(动态模块调用、动态链接)之类的检查不通过。红旗4.0如此(红旗的技术支持也承认红旗桌面版不支持DSO),MagicLinux1.2pre4/5也报告同样的结果。
回复

使用道具 举报

发表于 2004-4-9 17:31:32 | 显示全部楼层
I have integrated Tomcat and Apache successfully in Magicpre6 ,after I read  a guide from www.chinaunix.net.
In fact it' s just a small problem.If Magic lack of something,just installed manually.
回复

使用道具 举报

发表于 2004-4-9 19:50:00 | 显示全部楼层
贴出具体连接来,不要给个空泛的 http://www.chinaunix.net ……
回复

使用道具 举报

发表于 2004-4-9 22:58:22 | 显示全部楼层
[quote:7aedb48a5f="樱家冢"]贴出具体连接来,不要给个空泛的 http://www.chinaunix.net ……[/quote]
1、安装JDK
1)、从sun上载最新jdk,正常的安装
./j2sdk-1_4_2_03-linux-i586.bin   
rpm -ivh j2sdk-1_4_2_03-linux-i586.rpm
2)、为了以后升级方便,最好建一个软连接, 命令:ln -s /usr/java/j2sdk-1_4_2_03 /usr/local/jdk  
  
2、安装Apache
1). 下载最新的:
   http://www.apache.org/dist/httpd/httpd-2.0.47.tar.gz
2). 解包:
   tar xvfz httpd-2.0.47.tar.gz
3). 安装:
   cd httpd-2.0.47
   ./configure --prefix=/usr/local/apache --enable-so
   make
   make install
4). 修改httpd.conf:
   vi /usr/local/apache/conf/httpd.conf
   DirectoryIndex后加上index.php
   加一行 AddType application/x-httpd-php .php .phtml .php3 .inc
   加一行 LoadModule php4_module modules/libphp4.so (如果后面要安装最新php,它会自动来加上这个,如果您不安装php那么这个也就不要加上,要不会报错的哦)
   AddDefaultCharset后改为GB2312
5). 启动时运行:
   vi /etc/rc.d/rc.local 加一行 /usr/local/apache/bin/apachectl start
  
3、安装Mysql
1)、下载最新的安装包,请最好安装RPM包,这样最方便,又好用,我安的是这两个包MySQL-server-4.0.13-0.i386.rpm MySQL-client-4.0.13-0.i386.rpm,请从mysql.com上面下载。
2)、rpm -ivh MySQL-server-4.0.13-0.i386.rpm  
    rpm -ivh MySQL-client-4.0.13-0.i386.rpm  
  
4、安装Php
1). 下载最新的:
   http://www.php.net/get/php-4.3.4.tar.gz/from/this/mirror
2). 解包:
   tar xvfz php-4.3.4.tar.gz
3). 安装:
   cd php-4.3.4
   ./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --with-gd --with-zlib --with-xml
   make  
   make install
   cp php.ini-dist /usr/local/lib/php.ini
  
5、安装Tomcat 5
1)、下载最新的tomcat 5 http://www.apache.org/dist/jakarta/tomcat-5/v5.0.16/bin/jakarta-tomcat-5.0.16.tar.gz
2)、解包 tar xvfz jakarta-tomcat-5.0.16.tar.gz
3)、 mv jakarta-tomcat-5.0.16 /usr/local/
     ln -s /usr/local/jakarta-tomcat-5.0.16 /usr/local/tomcat/
     vi /usr/local/tomcat/bin/catalina.sh   (操作时请注意备份哦)  
     打开catalina.sh后,在第三行后插入这几行:
        JAVA_HOME=/usr/local/jdk/
        CATALINA_HOME="/usr/local/tomcat/"
        JAVA_OPTS="-Xms256m -Xmx256m"
     然后存盘退出。
4)、现在你可以使用/usr/local/tomcat/bin/startup.sh /usr/local/tomcat/bin/shutdown.sh 来启动或停止tomcat服务了
5)、groupadd tomcat
    useradd -g tomcat -c "Tomcat User" -d /usr/local/tomcat tomcat
    passwd tomcat
    chown -R tomcat:tomcat /usr/local/tomcat
    chown -R tomcat:tomcat /usr/local/jakarta-tomcat-5.0.16
6). 启动时运行:
   vi /etc/rc.d/rc.local 加一行 su - tomcat -c /usr/local/tomcat/bin/startup.sh  
  
6、安装JK2    (这是比较重要的东东,看清楚哦,这里最容易出问题了)
  
1)、下载最新的JK2 http://www.apache.org/dist/jakarta/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.gz  
2)、解包 tar xvfz jakarta-tomcat-connectors-jk2-src-current.tar.gz



3)、
cd jakarta-tomcat-connectors-jk2/jk/native
./buildconf.sh
./configure --with-apxs2=/usr/local/apache/bin/apxs
make
make install  

    cp jk/build/jk2/apache2/mod_jk2.so /usr/local/apache/modules  
    cp jk/build/jk2/apache2/jkjni.so /usr/local/apache/modules
     
4)、把mod_jk2加入 httpd.conf中 vi /usr/local/apache/conf/httpd.conf  
    LoadModule jk2_module modules/mod_jk2.so  
      
5)、vi /usr/local/tomcat/conf/jk2.properties 把原有位置的相关文件换成下面这些
  
    # list of needed handlers.
    handler.list=channelSocket,request
    # Override the default port for the channelSocket
    channelSocket.port=8009
6)、vi /usr/local/apache/conf/workers2.properties 这个是我的配置文件,请参考着修改
   
# only at beginnin. In production uncomment it out
[logger.apache2]
level=DEBUG
  
[shm]
file=/usr/local/apache/logs/shm.file
size=1048576
  
# Example socket channel, override port and host.
[channel.socket:localhost]
port=8009
host=127.0.0.1
  
# define the worker
[ajp13:localhost]
channel=channel.socket:localhost:8009
  
# Uri mapping
[uri:128.100.1.49/*.jsp]
worker=ajp13:localhost:8009
  
[uri:www.lawcn.cn/*.jsp]
worker=ajp13:localhost:8009
  
[uri:www.friendlist.cn/*.jsp]
worker=ajp13:localhost:8009
  
[uri:www.cnho.com/*.jsp]
worker=ajp13:localhost:8009
# only at beginnin. In production uncomment it out
[logger.apache2]
level=DEBUG
  
[shm]
file=/usr/local/apache/logs/shm.file
size=1048576
  
# Example socket channel, override port and host.
[channel.socket:localhost]
port=8009
host=127.0.0.1
  
# define the worker
[ajp13:localhost]
channel=channel.socket:localhost:8009
  
# Uri mapping
[uri:128.100.1.49/*.jsp]
worker=ajp13:localhost:8009
  
[uri:www.lawcn.cn/*.jsp]
worker=ajp13:localhost:8009
  
[uri:www.friendlist.cn/*.jsp]
worker=ajp13:localhost:8009
  
[uri:www.cnho.com/*.jsp]
worker=ajp13:localhost:8009


7)http.conf 虚拟主机配置部分
  
#…………
#不相关的部分已经省略

NameVirtualHost *
  
<VirtualHost *>
    ServerAdmin [email protected]
    DocumentRoot /www/ebuddylist/web-4sx593/
    ServerName www.friendlist.cn
    ServerAlias *.friendlist.cn friendlist.cn ebuddylist.com *.ebuddylist.com
    ErrorLog logs/www.friendlist.cn-error_log
    CustomLog logs/www.friendlist.cn-access_log common
    Options None
</VirtualHost>
  
<VirtualHost *>
    ServerAdmin [email protected]
    DocumentRoot /www/cnho/html/
    ServerName www.cnho.com
    ServerAlias *.cnho.com cnho.com
    ErrorLog logs/www.cnho.com-error_log
    CustomLog logs/www.cnho.com-access_log common
    Options None
</VirtualHost>
  

<VirtualHost *>
    ServerAdmin [email protected]
    DocumentRoot /www/lawcn/asdf-web/
    ServerName www.lawcn.cn
    ServerAlias *.lawcn.cn lawcn.cn
    ErrorLog logs/lawcn.cn-error_log
    CustomLog logs/lawcn.cn-access_log common
    Options None
    <Location "/*.jsp">
        JkUriSet worker ajp13:localhost:8009  
    </Location>
</VirtualHost>
  
、server.xml 的配置
  
<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
            debug="0"/>
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
            debug="0"/>
  
  <!-- Global JNDI resources -->
  <GlobalNamingResources>
  
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
  
    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved">
    </Resource>
    <ResourceParams name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
  
  </GlobalNamingResources>
  <Service name="Catalina">
    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector port="8080"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000"  
               disableUploadTimeout="true" />
  
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"  
               enableLookups="false" redirectPort="8443" debug="0"
               protocol="AJP/1.3" />
  
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost" debug="0">
  
      <!-- Global logger unless overridden at lower levels -->
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>
  
      <!-- Because this Realm is here, an instance will be shared globally -->
  
      <!-- This Realm uses the UserDatabase configured in the global JNDI
           resources under the key "UserDatabase".  Any edits
           that are performed against this UserDatabase are immediately
           available for use by the Realm.  -->
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                 debug="0" resourceName="UserDatabase"/>
  
      <Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">
  
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="localhost_log." suffix=".txt"
            timestamp="true"/>
  
        <!-- Tomcat Root Context -->
        <!--
          <Context path="" docBase="ROOT" debug="0">
        -->
  
      </Host>
  
      <Host name="www.lawcn.cn" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">
  
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="lawcn_log." suffix=".txt"
            timestamp="true"/>
          <Context path="" docBase="lawcn" debug="0" />
      </Host>
  
    </Engine>
  
  </Service>
  
</Server>
回复

使用道具 举报

发表于 2004-4-10 09:43:08 | 显示全部楼层
这个,我记得我也是这么做的,关键就是connector编译没办法通过吧。
回复

使用道具 举报

发表于 2004-4-10 10:54:30 | 显示全部楼层
我的是通过了阿,不知道为什么
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-1-10 06:18 , Processed in 0.070182 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表