Hello,
saya lagi ada masalah dengan instalasi vmailmgr di 2.6.10-1.770_FC3
seperti nya patch nya tidak cocok. udah coba-2 di telusuri source
nya terlalu rumit. btw, ada yg punya patch nya ? atau mengalami
masalah yang sama ? di gcc versi di bawah nya ga ada masalah,
running well.
# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
log :
pod2html --noindex checkvpw.pod >checkvpw.html
/usr/bin/pod2html: checkvpw.pod: cannot resolve L<qmail-send> in paragraph 11.
pod2html --noindex vauthenticate.pod >vauthenticate.html
make[2]: Leaving directory `/home/avudz/download/vmailmgr-0.96.9/authenticate'
Making all in commands
make[2]: Entering directory `/home/avudz/download/vmailmgr-0.96.9/commands'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DBINDIR=\"/usr/local/bin\" -g -O2
-fno-rtti -fno-exceptions -Wall -W -c vpasswd2cdb.cc
vpasswd2cdb.cc:30: error: missing terminating " character
vpasswd2cdb.cc:31: error: label `writes' referenced outside of any function
vpasswd2cdb.cc:31: error: invalid conversion from `void*' to `const char*'
vpasswd2cdb.cc:31: error: expected `,' or `;' before "it"
vpasswd2cdb.cc:32: error: missing terminating " character
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::name'
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::type'
vpasswd2cdb.cc:43: warning: missing initializer for member
`cli_option::flag_value'
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::dataptr'
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::helpstr'
vpasswd2cdb.cc:43: warning: missing initializer for member
`cli_option::defaultstr'
make[2]: *** [vpasswd2cdb.o] Error 1
make[2]: Leaving directory `/home/avudz/download/vmailmgr-0.96.9/commands'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/avudz/download/vmailmgr-0.96.9'
make: *** [all-recursive-am] Error 2
saya udah patch dengan cara begini :
ex -s -c '/#define MYSTRING__H__' -c 'r! echo -e
"\#include<string.h>\n\#include <stdlib.h>"' \
-c w -c q lib/mystring/mystring.h &&
for dir in authenticate commands daemon cgi; do
ex -s -c '0,$s/\(CC *= *\).*/\1c++/' -c w -c q $dir/Makefile
done
error nya :
Making all in authenticate
make[2]: Entering directory `/home/avudz/download/vmailmgr-0.96.9/authenticate'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -fno-rtti -fno-exceptions
-Wall -W -c authvmailmgr.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -fno-rtti -fno-exceptions
-Wall -W -c authvlib.cc
gcc -g -O2 -fno-rtti -fno-exceptions -Wall -W -o authvmailmgr authvmailmgr.o
authvlib.o ../lib/libvmailmgr.a -L../lib/courier-authlib -lauthmod -lcrypt
authvlib.o(.text+0x1c6): In function `set_user(pwentry const*)':
/home/avudz/download/vmailmgr-0.96.9/authenticate/authvlib.cc:63: undefined
reference to `operator new(unsigned int)'
authvlib.o(.text+0x37d): In function `authenticate(mystring, mystring,
mystring, bool)':
../lib/mystring/mystring.h:45: undefined reference to `operator new(unsigned
int)'
authvlib.o(.text+0x554):../lib/mystring/mystring.h:46: undefined reference to
`operator new(unsigned int)'
../lib/libvmailmgr.a(configrc.o)(.text+0xf): In function
`configuration::~configuration()':
/home/avudz/download/vmailmgr-0.96.9/lib/config/configrc.h:20: undefined
reference to `operator delete(void*)'
../lib/libvmailmgr.a(configrc.o)(.text+0x18):/home/avudz/download/vmailmgr-0.96.9/lib/config/configrc.h:20:
undefined reference to `operator delete(void*)'
../lib/libvmailmgr.a(configrc.o)(.text+0x9f):/home/avudz/download/vmailmgr-0.96.9/lib/config/configrc.h:20:
undefined reference to `operator delete(void*)'
../lib/libvmailmgr.a(configrc.o)(.text+0xa8):/home/avudz/download/vmailmgr-0.96.9/lib/config/configrc.h:20:
undefined reference to `operator delete(void*)'
../lib/libvmailmgr.a(configrc.o)(.text+0xb1):/home/avudz/download/vmailmgr-0.96.9/lib/config/configrc.h:20:
undefined reference to `operator delete(void*)'
../lib/libvmailmgr.a(configrc.o)(.text+0xba):/home/avudz/download/vmailmgr-0.96.9/lib/config/configrc.h:20:
more undefined references to `operator delete(void*)' follow
../lib/libvmailmgr.a(exec.o)(.text+0x2c): In function `presetenv(char const*,
mystring const&)':
[SNIP]
../mystring/mystring.h:47: undefined reference to `operator new(unsigned int)'
../lib/libvmailmgr.a(read_uns.o)(.text+0x63): In function
`configuration::read_uns(mystring const&, unsigned int, config_cache<unsigned
int>&) const':
/home/avudz/download/vmailmgr-0.96.9/lib/config/read_uns.cc:42: undefined
reference to `operator new(unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [authvmailmgr] Error 1
make[2]: Leaving directory `/home/avudz/download/vmailmgr-0.96.9/authenticate'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/avudz/download/vmailmgr-0.96.9'
make: *** [all-recursive-am] Error 2
Please Help :-)
--
Best regards,
./avd mailto:[EMAIL PROTECTED]
*yang lagi bingung kok system di pake FC 3 si!*
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis