Hi,

i'm trying to compile openca but i got an error with gettext.

I'm using a Linux Mandrake 9.2 on a i586 architecture.

I have perl-Locale-gettext-1.01-9mdk installed.

When i do make i have the following error:

make[4]: Entering directory `/root/openca-0.9.1.3/src/modules/gettext-1.01'
cp gettext.pm blib/lib/Locale/gettext.pm
/usr/bin/perl5.8.1 /usr/lib/perl5/5.8.1/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.1/ExtUtils/typemap  gettext.xs > gettext.xsc && mv
gettext.xsc gettext.c
Please specify prototyping behavior for gettext.xs (see perlxs manual)
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe
-march=i586 -mcpu=pentiumpro   -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\"
-fPIC "-I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE"   gettext.c
gettext.c: In function `XS_Locale__gettext_gettext':
gettext.c:67: warning: assignment makes pointer from integer without a cast
gettext.c: In function `XS_Locale__gettext_dcgettext':
gettext.c:86: warning: assignment makes pointer from integer without a cast
gettext.c: In function `XS_Locale__gettext_dgettext':
gettext.c:104: warning: assignment makes pointer from integer without a cast
gettext.c: In function `XS_Locale__gettext_textdomain':
gettext.c:121: warning: assignment makes pointer from integer without a cast
gettext.c: In function `XS_Locale__gettext_bindtextdomain':
gettext.c:139: warning: assignment makes pointer from integer without a cast
Running Mkbootstrap for Locale::gettext ()
chmod 644 gettext.bs
rm -f blib/arch/auto/Locale/gettext/gettext.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib gettext.o  -o
blib/arch/auto/Locale/gettext/gettext.so   -lintl
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make[4]: *** [blib/arch/auto/Locale/gettext/gettext.so] Erreur 1
make[4]: Leaving directory `/root/openca-0.9.1.3/src/modules/gettext-1.01'
make[3]: *** [gettext-1.01] Erreur 2
make[3]: Leaving directory `/root/openca-0.9.1.3/src/modules'
make[2]: *** [modules] Erreur 2
make[2]: Leaving directory `/root/openca-0.9.1.3/src/modules'
make[1]: *** [modules] Erreur 2
make[1]: Leaving directory `/root/openca-0.9.1.3/src'
make: *** [src] Erreur 2

Here is my ./configure batch:

#!/bin/sh
# Auteur      : Laurent Mesur�
# Version     : 1.0
# Date        : 24/11/2003
# Description : Script de configuration de compilation de OpenCA
#

PREFIX=$1
VER=0.9.1

if [ -z "${PREFIX}" ] ; then
        PREFIX=/usr/local/openca.${VER}
fi

./configure \
  --prefix=${PREFIX} \
  --with-httpd-user=apache \
  --with-httpd-group=apache \
  --with-openca-user=openca \
  --with-openca-group=openca \
  --with-openca-prefix=${PREFIX}/openca \
  --with-etc-prefix=${PREFIX}/openca/etc \
  --with-httpd-fs-prefix=/var/www/html/openca \
  --with-httpd-url-prefix=/openca \
  --with-module-prefix=${PREFIX}/openca/modules \
  --with-openssl-prefix=/usr/lib/ssl \
  --with-engine=no \
  --with-web-host=pki.net.lmesure.org \
  --with-ca-organization="lmesure.org" \
  --with-ca-country=FR \
  --with-ca-locality=Fresnes \
  --with-ldap-host=ldap.net.lmesure.org \
  --with-ldap-port=389 \
  --with-ldap-root="cn=Manager,dc=lmesure,dc=org" \
  --with-ldap-root-pwd="******" \
  --disable-ocspd \
  --enable-db \
  --disable-dbi \
  --disable-rbac \
  --enable-openscep \
  --with-db-type=Pq \
  --with-db-name=openca \
  --with-db-host=db.net.lmesure.org \
  --with-db-port=5432 \
  --with-db-user=openca \
  --with-db-passwd=****** \
  --with-hierarchy-level=ra \
  --with-service-mail-account="[EMAIL PROTECTED]" \
  --with-language=fr_FR

Can someone help me. I've read the documentation about the gettext part.
But i don't know what to do as i have the 1.01 version and not the 1.0.0.

Do i have to update back to the 1.0.0?

Regards

Laurent




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to