Kevin Kovach wrote:
I'm using the 2.4 kernel. Under dist I have a Linux2.4_x86_glibc_PTH_OPT.OBJ/include directory.The full path to the header files is /opt/src/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include. All the headers are links to ../../../nsprpub/Linux2.4_x86_glibc_PTH_OPT.OBJ/pr/include/../../../pr/include/I need to add this directory to objdirname.mk <http://objdirname.mk> somewhere?
Not exactly. objdirname.mk figures out what the name of this directory is supposed to be based on the output of uname. e.g. grep uname dsbuild/* In some places, we use the patch version number (.14) and in other places we do not (as in your example above where it only has Linux2.4 instead of Linux2.6.14 below. In your case, you might just want to hard code the correct values into objdirname.mk. But we'd like to make dsbuild work on other linux distros, so if you can figure out how to make objdirname.mk get the correct values from the environment, and send us the patches, we would appreciate it.
Pardon my ignorance. Thanks for the help. - KevinOn 1/25/06, * Richard Megginson* <rmeggins@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx>> wrote:Kevin Kovach wrote: > To answer the question in your reply to Mike, I'm building FDS in > /opt/src/dsbuild and I have the following directory as you asked him ... > > /opt/src/dsbuild/ds/adminutil/work/fedora- adminutil-1.0/built/Linux2.4_x86_glibc_PTH_DBG.OBJ/include/ > > > I guess I didn't understand what the solution was if this directory > does exist? Thanks. the adminutil component is looking for Linux2.4 but NSPR is using something different. Do you have this directory: dsbuild/ds/mozilla/work/mozilla/dist/Linux2.6.14_x86_glibc_PTH_OPT.OBJ/include If not, what is to the right of dist/ and to the left of /include under your dsbuild/ds/mozilla/work/mozilla? > > - Kevin > > On 1/25/06, *Richard Megginson* < rmeggins@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx> > <mailto: rmeggins@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx>>> wrote: > > Kevin Kovach wrote: > > > Mike, > > > > Did you end up finding a solution to this issue? I'm trying to > build > > FDS 1.0.1 tonight on Slackware 10.1 kernel 2.4.29 with dsbuild and > > seeing the exact same error. Thanks. > > > > - Kevin > > > > On 12/11/05, *Richard Megginson* < rmeggins@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx> > <mailto:rmeggins@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx>> > > <mailto:rmeggins@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx> <mailto:rmeggins@xxxxxxxxxx <mailto:rmeggins@xxxxxxxxxx>>>> wrote: > > > > Does this directory exist: > >> /usr/local/src/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.6.14_x86_glibc_PTH_OPT.OBJ/include> > > > > If not, is there a platform specific directory under > > ......../mozilla/dist? If so, what is it? > > > Kevin, same question as above. If you are using dsbuild, you might be > able to hack dsbuild/objdirname.mk to make it spit out the right > name. > Or, just change it to grab the name from the actual name of the > directory under mozilla/dist > > > > > > > Mike Lowrie wrote: > > > > > I'm trying to do a complete build using dsbuild on a freshly > > installed > > > Slackware 10.2 box with a 2.6.14.3 <http://2.6.14.3> <http://2.6.14.3> > <http://2.6.14.3> kernel, but > > I'm running into > > > problems with the system not finding some header files: > > > > > > ==== Building AdminUtil ========== > > > > > > cd lib/libadminutil; gmake BUILD_OPT=1 NSPR_BASENAME= > > > USE_PTHREADS=1 SECURITY=domestic MOZILLA_SOURCE_ROOT_EXT= > > > ICU_SOURCE_ROOT_EXT= USE_64= > > > gmake[3]: Entering directory > > > > >> `/usr/local/src/dsbuild/ds/adminutil/work/fedora-adminutil-1.0/lib/libadminutil'> > > > > > gcc -c -fPIC -pipe -DLINUX -Dlinux -DBSD -D_POSIX_SOURCE > > > -D_XOPEN_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DNO_DBM > > -DNO_NODELOCK > > > -DXP_UNIX -DLinux -O2 -DNET_SSL -DSPAPI20 > > -DBUILD_NUM=\"2005.344.255\" > > > > > > -I/usr/local/src/dsbuild/ds/adminutil/work/fedora- adminutil-1.0/include > > > > >> -I/usr/local/src/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.6.14_x86_glibc_PTH_OPT.OBJ/include> > > > > > > -I/usr/local/src/dsbuild/ds/mozilla/work/mozilla/dist/public/nss > > >> -I/usr/local/src/dsbuild/ds/mozilla/work/mozilla/dist/public/ldap> > > -I/usr/local/src/dsbuild/ds/icu/work/icu- 2.4/built/include > > psetc.c -o > > > > >> /usr/local/src/dsbuild/ds/adminutil/work/fedora-adminutil-1.0/built/Linux2.6.14_x86_glibc_PTH_OPT.OBJ/lib/libadminutil/psetc.o> > > > > > In file included from > > > /usr/local/src/dsbuild/ds/adminutil/work/fedora- > > adminutil-1.0/include/libadminutil/psetc.h:24, > > > > > > from psetc_pvt.h:26, > > > from psetc.c:30: > > > > > > /usr/local/src/dsbuild/ds/adminutil/work/fedora- adminutil-1.0/include/libadminutil/admutil.h:25:21: > > > > > prtypes.h: No such file or directory > > > > > > /usr/local/src/dsbuild/ds/adminutil/work/fedora- adminutil-1.0/include/libadminutil/admutil.h:26:19: > > > plstr.h: No such file or directory > > > /usr/local/src/dsbuild/ds/adminutil/work/fedora- > > adminutil-1.0 /include/libadminutil/admutil.h:27:19: > > > prprf.h: No such file or directory > > > In file included from > > > > > /usr/local/src/dsbuild/ds/adminutil/work/fedora- > adminutil-1.0/include/libadminutil/psetc.h:24, > > > > > > > > from psetc_pvt.h:26, > > > from psetc.c:30: > > > > > /usr/local/src/dsbuild/ds/adminutil/work/fedora- > adminutil-1.0/include/libadminutil/admutil.h:78: > > > error: syntax error before "createAttrNameList" > > > > >> /usr/local/src/dsbuild/ds/adminutil/work/fedora-adminutil-1.0/include/libadminutil/admutil.h:78:> > > > warning: data definition has no type or storage class > > > /usr/local/src/dsbuild/ds/adminutil/work/fedora- > > adminutil-1.0/include/libadminutil/admutil.h:80: > > > error: syntax error before "addName" > > > > >> /usr/local/src/dsbuild/ds/adminutil/work/fedora-adminutil-1.0/include/libadminutil/admutil.h:80:> > > warning: data definition has no type or storage class > > > . > > > . > > > . > > > > > > and of course a whole lot of other errors follow. > > > > > > I have found the files it is looking for in the mozilla > directory of > > > the dsbuild directory, but its as if it doesn't have the > correct > > > include paths. I tried adding a few manually, but there > are a lot of > > > different paths - all from the mozilla directory that aren't > > being found. > > > > > > Does anyone have any suggestions on how to fix this? > > > > > > Appreciate the help! > > > Mike > > > > > > -- > > > Fedora-directory-users mailing list > > > Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> > <mailto:Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx>> > > <mailto:Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> > <mailto:Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx>>> > > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > > > -- > > Fedora-directory-users mailing list > > Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> > <mailto: Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx>> > > <mailto:Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> > <mailto: Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx>>> > > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > < https://www.redhat.com/mailman/listinfo/fedora-directory-users> > > > > > > > > > > > > > > -- > > Take back the web, http://www.switch2firefox.com/ > > <http://www.switch2firefox.com/ <http://www.switch2firefox.com/> <http://www.switch2firefox.com/>> > >> >------------------------------------------------------------------------> > > >-- > >Fedora-directory-users mailing list > >Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> > <mailto: Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx>> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> > <mailto: Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx>> > https://www.redhat.com/mailman/listinfo/fedora-directory-users > < https://www.redhat.com/mailman/listinfo/fedora-directory-users> > > > > > > > -- > Take back the web, http://www.switch2firefox.com/ <http://www.switch2firefox.com/> > >------------------------------------------------------------------------ > >-- >Fedora-directory-users mailing list >Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> >https://www.redhat.com/mailman/listinfo/fedora-directory-users > > -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx <mailto:Fedora-directory-users@xxxxxxxxxx> https://www.redhat.com/mailman/listinfo/fedora-directory-users <https://www.redhat.com/mailman/listinfo/fedora-directory-users> -- Take back the web, http://www.switch2firefox.com/ ------------------------------------------------------------------------ -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users