Sam,<br>
<br>
At first, not, since I´m using the original install script provided by
Fedora, and it have no switches. Even the make command descripted in
Fedora´s page to build only the DS does not have a switch to supply
this path (as far as I know - I´m not exactly a huge Linux expert :-) ).<br>
<br>
>From the lines showed in the screen, I guess that these paths are
hardcoded, and since in the Fedora´s page they say that this build
scripts uses its own libraries (which I guess that is correct, the
build script downloaded all the needed packages, including Mozilla
components), I think that is just the case to correct the path in some
script, I just don´t know which one.<br>
<br>
Just to correct a wrong information, this <span style="font-style: italic;">prio.h </span>file could be found in two locations inside the directory created to make the build (in my case, is /root/dsbuild):<br>
/root/dsbuild/ds/mozilla/work/mozilla/nsprpub/pr/include/prio.h<br>
/root/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include/prio.h<br>
<br>
But the dsbuild script is not finding it.<br>
<br>
Regards<br>
<br><br><span style="font-style: italic; text-decoration: none;">Sam Tran (stlist@gmail.com) escreveu: </span><table style="border-left: 1px solid black;" cellpadding="10" width="100%"><tbody><tr><td> Marcio,<br><br>Do you have a switch for the configure phase, which would allow you to<br>specify that header path?<br><br>Sam<br><br>On 6/16/05, Marcio Kabke Pinheiro <<a href="/email/compose.php?folder=INBOX&to=marciok@celepar.pr.gov.br">marciok@celepar.pr.gov.br</a>> wrote:<br>> Hi, Sam. Thanks for the quick answer.<br>> <br>> Because of some requisites, we´re using Debian Sid in this machine.<br>> <br>> This package libnspr-dev was not installed, really. I´ve installed it, the<br>> file /usr/include/mozilla/nspr/prio.h was there, but same<br>> error.<br>> <br>> Sam Tran (<a href="/email/compose.php?folder=INBOX&to=stlist@gmail.com">stlist@gmail.com</a>) escreveu: <br>> On 6/16/05, Marcio Kabke Pinheiro <<a href="/email/com!
pose.php?folder=INBOX&to=marciok@celepar.pr.gov.br">marciok@celepar.pr.gov.br</a>> wrote:<br>> > Hi, All.<br>> > <br>> > I´m trying to build a DS in Debian using the dsbuild tool supplied in the<br>> > Fedora Directory´s site. First ocurred an error when the Cyrus SASL is<br>> being<br>> > built, but I could solve it (was an missing file that was not in the<br>> > downloaded Cyrus package). But now another error ocurred in the stage of<br>> > 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<br>> > `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1/lib/base'<br>> > /usr/bin/g++ -fwritable-strings -c -Wall -DNO_DBM -DLINUX -DLINUX2_2<br>> > -DLINUX2_4 -fPIC -D_REENTRANT -DNO_NODELOCK -DPUMPKIN_HOUR=1129295179<br>> > -I../../include/base -I..!
/../ldap/servers/slapd -DXP_UNIX -DLinux -O2<br>> > -DM!
CC_HTTPD
-DNS_DOMESTIC -DNET_SSL -DCLIENT_AUTH -DSERVER_BUILD -DNSPR20 <br>> > -DNS_DS -DSPAPI20 -DBUILD_NUM=\"2005.167.136\" -I../../include<br>> > -I../../include<br>> ><br>> -I../../../mozilla/dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include<br>> > -I../../../mozilla/dist/public/dbm<br>> > -I../../../mozilla/dist/public/nss<br>> > -I../../../mozilla/dist/public/svrcore -I../../nspr20/lib<br>> > -I../../../mozilla/dist/public/ldap<br>> > -I../../../cyrus-sasl-2.1.20/include shexp.cpp -o<br>> ><br>> ../../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>> > .. /../include/base/systems.h:533:18: prio.h: Arquivo ou<br>> > diretório não encontrado<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<br>> > before `*' token<br>> > ../../include/base/systems.h:548: error: syntax error<br>> > before `*' token<br>> > ../../include/base/systems.h:578: error: syntax error<br>> > before `;' token<br>> > gmake[4]: **<br>> ><br>> [../../built/Linux-domestic-optimize-normal-slapd/lib/base/shexp.o]<br>> > Erro 1<br>> > gmake[4]: Leaving directory<br>> > `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1/lib/base'<br>> > gmake[3]: ** [httpdLib] Erro 2<br>> > gmake[3]: Leaving directory<br>> > `/root/dsbuild/ds/ldapserver/work/fedora-ds-7.1'<br>> > make[2]: ** [buildDirectory] Erro 2<br>> > make[2]: Leaving directory<br>> > `/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/ld!
apserver'<br>> > make: ** [dep-../../ds/ldapserver] Err!
o 2<br>&
g
t; > <br>> > Translating from Portuguese, the error is "File or directory not found".<br>> > And its true, I could not find the prio.h file anywhere inside the dsbuild<br>> > directory and its subdirectories.<br>> > <br>> <br>> Marcio,<br>> <br>> If you are using Debian Sarge, try to install the package libnspr-dev<br>> which contains the file /usr/include/mozilla/nspr/prio.h:<br>> # apt-get install libnspr-dev<br>> <br>> Let me know if this works.<br>> <br>> Sam<br>> <br>> --<br>> Fedora-directory-users mailing list<br>> <a href="/email/compose.php?folder=INBOX&to=Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_new">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>> <br>> <br>> -- <br>> ==================================<br>> Márcio Kabke Pinheiro<br>>!
; CELEPAR - Governo do Paraná<br>> <a href="/email/compose.php?folder=INBOX&to=marciok@celepar.pr.gov.br">marciok@celepar.pr.gov.br</a><br>>
<br><br></td></tr></tbody></table><br>-- <br>==================================<br>Márcio Kabke Pinheiro<br>CELEPAR - Governo do Paraná<br>marciok@celepar.pr.gov.br<br>