[linux] Kompilacia apache 1.3.14, php4, gcc

Roman Boba Roman.Boba na inseko.sk
Středa Listopad 15 18:18:35 CET 2000


Caute,

kua, mam cerstvo nainstalovany Mandrake 7.2 (takmer plna instalacia)
Chcem skompilovat apache 1.3.14 + PHP4 (CVS) pre IMP a HORDE.

robim:

apache:
configure --prefix=/usr/local/apache

php:
./configure --with-imap --enable-track-vars --with-pgsql --with-apache=blabl
a
make
make install

a spat apache:
configure --activate-module=src/modules/php4/libphp4.a
make

a tam to pride:



Configuring for Apache, Version 1.3.14
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..;
gcc  -DLINUX=2 -I/root/CVS/php4 -I/root/CVS/php4/main -I/root/CVS/php4
/main -I/root/CVS/php4/Zend -I/root/CVS/php4/Zend -I/root/CVS/php4/TSRM -I/r
o
ot/CVS/php4/TSRM -I/root/CVS/php4 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEE
D
ED `./apaci`     -o helpers/dummy
lpers/dummy.c   -Wl,-rpath,/usr/lib/pgsql
  -rdynamic -L/usr/lib/pgsql -Lmodules/php4 -L../modules/php4 -L../../module
s
/php4 -lmodphp4  -lpam -limap  -ldl -lpq -lresolv -lm -ldl -lcrypt -lnsl  -l
r
esolv   -lm -lcrypt
/usr/lib/libimap.so: undefined reference to `mm_expunged'
/usr/lib/libimap.so: undefined reference to `mm_diskerror'
/usr/lib/libimap.so: undefined reference to `mm_lsub'
/usr/lib/libimap.so: undefined reference to `mm_flags'
/usr/lib/libimap.so: undefined reference to `mm_fatal'
/usr/lib/libimap.so: undefined reference to `mm_nocritical'
/usr/lib/libimap.so: undefined reference to `mm_notify'
/usr/lib/libimap.so: undefined reference to `mm_searched'
/usr/lib/libimap.so: undefined reference to `mm_status'
/usr/lib/libimap.so: undefined reference to `mm_login'
/usr/lib/libimap.so: undefined reference to `mm_list'
/usr/lib/libimap.so: undefined reference to `mm_critical'
/usr/lib/libimap.so: undefined reference to `mm_exists'
/usr/lib/libimap.so: undefined reference to `mm_log'
/usr/lib/libimap.so: undefined reference to `mm_dlog'
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o php4_module uses ConfigStart/End
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
============= End of Error Report =============

 Aborting!


rpm -qa | grep gcc=
gcc-cpp-2.95.2-12mdk
gcc-2.95.2-12mdk
gcc-c++-2.95.2-12mdk
gcc-java-2.95.2-12mdk
gcc-colorgcc-2.95.2-12mdk
gcc-g77-2.95.2-12mdk
gcc-objc-2.95.2-12mdk
gcc-libgcj-2.95.2-12mdk
gcc-fr-2.95-4mdk
gcc-chill-2.95.2-12mdk


a co sa imap-u tyka, mam:
imap-4.7c2-4mdk
imap-devel-4.7c2-4mdk

Chyba mu este cosi, alebo ma nieco navyse ? Vdaka za kazdu radu.


Roman
------------- další část ---------------
Netextová příloha byla odstraněna...
Jméno: Roman Boba.vcf
Typ: text/x-vcard
Velikost: 379 bytes
Popis: [žádný popis není k dispozici]
Url : http://lists.linux.sk/pipermail/linux/attachments/20001115/bc199aa1/attachment.vcf 


Další informace o konferenci linux