Marcio Kabke Pinheiro
2005-Jun-16 13:14 UTC
[Fedora-directory-users] Build problem in Debian
Hi, All.<br> <br> 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:<br> <br> ==== Starting Server LIBS for: DIRECTORY ==========<br> <br> cd lib/base; gmake BUILD_OPT=1 NO_JAVA=1 -w<br> gmake[4]: Entering directory `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1/lib/base''<br> /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<br> In file included from ../../include/netsite.h:73,<br> from ../../include/base/shexp.h:79,<br> from shexp.cpp:48:<br> <span style="font-weight: bold; color: rgb(153, 0, 0);">../../include/base/systems.h:533:18: prio.h: Arquivo ou diretório não encontrado</span><br> In file included from ../../include/netsite.h:73,<br> from ../../include/base/shexp.h:79,<br> from shexp.cpp:48:<br> ../../include/base/systems.h:543: error: syntax error before `*'' token<br> ../../include/base/systems.h:548: error: syntax error before `*'' token<br> ../../include/base/systems.h:578: error: syntax error before `;'' token<br> gmake[4]: ** [../../built/Linux-domestic-optimize-normal-slapd/lib/base/shexp.o] Erro 1<br> gmake[4]: Leaving directory `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1/lib/base''<br> gmake[3]: ** [httpdLib] Erro 2<br> gmake[3]: Leaving directory `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1''<br> make[2]: ** [buildDirectory] Erro 2<br> make[2]: Leaving directory `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1''<br> make[1]: ** [build-work/fedora-ds-7.1/Makefile] Erro 2<br> make[1]: Leaving directory `/root/dsbuild/ds/ldapserver''<br> make: ** [dep-../../ds/ldapserver] Erro 2<br> <br> Translating from Portuguese, the error is "File or directory not found". And its true, I could not find the <span style="font-style: italic;">prio.h</span> file anywhere inside the dsbuild directory and its subdirectories.<br> <br> Any clues?<br> <br> Regards.<br> <br> <br><br>-- <br>==================================<br>Márcio Kabke Pinheiro<br>CELEPAR - Governo do Paraná<br>marciok@celepar.pr.gov.br<br>
On 6/16/05, Marcio Kabke Pinheiro <marciok@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