[Fedora-directory-users] Build problem in Debian

Sam Tran stlist at gmail.com
Thu Jun 16 13:36:56 UTC 2005


On 6/16/05, Marcio Kabke Pinheiro <marciok at celepar.pr.gov.br> wrote:
> Hi, All.
>  
>  I´m trying to build a DS in Debian using the dsbuild tool supplied in the
> Fedora Directory´s site. First ocurred an error when the Cyrus SASL is being
> built, but I could solve it (was an missing file that was not in the
> downloaded Cyrus package). But now another error ocurred in the stage of
> building the DS itself:
>  
>  ==== Starting Server LIBS for: DIRECTORY ==========
>  
>  cd lib/base;            gmake BUILD_OPT=1 NO_JAVA=1 -w
>  gmake[4]: Entering directory
> `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1/lib/base'
>  /usr/bin/g++ -fwritable-strings -c  -Wall -DNO_DBM -DLINUX -DLINUX2_2
> -DLINUX2_4 -fPIC -D_REENTRANT -DNO_NODELOCK -DPUMPKIN_HOUR=1129295179
> -I../../include/base -I../../ldap/servers/slapd -DXP_UNIX -DLinux -O2
> -DMCC_HTTPD -DNS_DOMESTIC -DNET_SSL -DCLIENT_AUTH -DSERVER_BUILD -DNSPR20 
> -DNS_DS -DSPAPI20 -DBUILD_NUM=\"2005.167.136\" -I../../include
> -I../../include
> -I../../../mozilla/dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include
> -I../../../mozilla/dist/public/dbm
> -I../../../mozilla/dist/public/nss
> -I../../../mozilla/dist/public/svrcore -I../../nspr20/lib
> -I../../../mozilla/dist/public/ldap
> -I../../../cyrus-sasl-2.1.20/include  shexp.cpp -o
> ../../built/Linux-domestic-optimize-normal-slapd/lib/base/shexp.o
>  In file included from ../../include/netsite.h:73,
>                   from ../../include/base/shexp.h:79,
>                   from shexp.cpp:48:
>  ../../include/base/systems.h:533:18: prio.h: Arquivo ou
> diretório não encontrado
>  In file included from ../../include/netsite.h:73,
>                   from ../../include/base/shexp.h:79,
>                   from shexp.cpp:48:
>  ../../include/base/systems.h:543: error: syntax error
> before `*' token
>  ../../include/base/systems.h:548: error: syntax error
> before `*' token
>  ../../include/base/systems.h:578: error: syntax error
> before `;' token
>  gmake[4]: **
> [../../built/Linux-domestic-optimize-normal-slapd/lib/base/shexp.o]
> Erro 1
>  gmake[4]: Leaving directory
> `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1/lib/base'
>  gmake[3]: ** [httpdLib] Erro 2
>  gmake[3]: Leaving directory
> `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1'
>  make[2]: ** [buildDirectory] Erro 2
>  make[2]: Leaving directory
> `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1'
>  make[1]: ** [build-work/fedora-ds-7.1/Makefile] Erro 2
>  make[1]: Leaving directory `/root/dsbuild/ds/ldapserver'
>  make: ** [dep-../../ds/ldapserver] Erro 2
>  
>  Translating from Portuguese, the error is "File or directory not found".
> And its true, I could not find the prio.h file anywhere inside the dsbuild
> directory and its subdirectories.
>  

Marcio,

If you are using Debian Sarge, try to install the package libnspr-dev
which contains the file /usr/include/mozilla/nspr/prio.h:
# apt-get install libnspr-dev

Let me know if this works.

Sam




More information about the Fedora-directory-users mailing list