Re: [Fedora-directory-users] Build problem in Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam,

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 :-) ).

>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.

Just to correct a wrong information, this prio.h file could be found in two locations inside the directory created to make the build (in my case, is /root/dsbuild):
/root/dsbuild/ds/mozilla/work/mozilla/nsprpub/pr/include/prio.h
/root/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include/prio.h

But the dsbuild script is not finding it.

Regards


Sam Tran (stlist@xxxxxxxxx) escreveu:
Marcio,

Do you have a switch for the configure phase, which would allow you to
specify that header path?

Sam

On 6/16/05, Marcio Kabke Pinheiro <marciok@xxxxxxxxxxxxxxxxx> wrote:
> Hi, Sam. Thanks for the quick answer.
>
> Because of some requisites, we´re using Debian Sid in this machine.
>
> This package libnspr-dev was not installed, really. I´ve installed it, the
> file /usr/include/mozilla/nspr/prio.h was there, but same
> error.
>
> Sam Tran (stlist@xxxxxxxxx) escreveu:
> On 6/16/05, Marcio Kabke Pinheiro <marciok@xxxxxxxxxxxxxxxxx> 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
> > -DM! CC_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/ld! apserver'
> > make: ** [dep-../../ds/ldapserver] Err! o 2
& g t; >
> > 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
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
> --
> ==================================
> Márcio Kabke Pinheiro
>! ; CELEPAR - Governo do Paraná
> marciok@xxxxxxxxxxxxxxxxx
>


--
==================================
Márcio Kabke Pinheiro
CELEPAR - Governo do Paraná
marciok@xxxxxxxxxxxxxxxxx
--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux