Prev: [Samba] compiling samba-3.4.x on RHEL4
Next: [Samba] Lightweight NetBIOS host enumeration in Python
From: D.L. Meyer on 10 Sep 2009 11:40 Folks, I am running into this same problem -- the source of the problem appears (to me) to be earlier in the compile, before the warnings/errors that Werner quoted. I found reference to being unable to load "config.h". The compile appears to be being executed with a current directory of 'samba-3.4.1/source3/', and is directly compiling replace.c and talloc.c in their respective directories. Both fail without access to "config.h". To test, I set the current directory into the BUILD/samba-3.4.1/source3/ directory, and re-executed the gcc command from the output. With this, I was able to duplicate the warning/error output from the package build. When I appended " -Iinclude" to the same command, the compile completed successfully -- without any errors or warnings. Therefore, I have to conclude that the include paths are not being set correctly for these component compiles. I have not had the time yet to dig any deeper into the Makefile/specfile structure to determine where this problem lies. -D --On Thursday, September 10, 2009 4:37 PM +0200 Werner Maes <Werner.Maes(a)icts.kuleuven.be> wrote: > replace.h is in /usr/src/redhat/BUILD/samba-3.4.1/lib/replace/ > > The Makefile can be found in /usr/src/redhat/BUILD/samba-3.4.1/source3/ > > so -I./../lib/replace should point to the folder where replace.h can be found? Or am I missing sometmhing? > > CPPFLAGS=-DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED > > werner > > ps: in samba 3.2.x & 3.3.x the folder lib/replace was situated in the source/ folder, but in samba 3.4.x it is no longer there but one directory up ! > Donald L. Meyer <dlmeyer(a)illinois.edu> - Technical System Manager, ACES TeleNet Service - Technical Lead, ACES Web Infrastructure Information Technology and Communication Services, College of ACES University of Illinois at Urbana-Champaign Video/H.323: 0012172445653 (GDS) Phone: +1.217.244.5653 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Eero Volotinen on 10 Sep 2009 12:10 Werner Maes kirjoitti: > no I haven't yet. > > perhaps I will try that tomorrow. > > but I'm wondering if I'm the only one with this error? No, looks like this problem comes also with my environment running Centos 5.3 32bit. (rhel 5 clone) I think that is bug in make rpms system. -- Eero -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Werner Maes on 14 Sep 2009 05:30 does this this mean we have to wait for 3.4.2? or is it necessary to open a bug report? w. > -----Original Message----- > From: Eero Volotinen [mailto:eero.volotinen(a)iki.fi] > Sent: donderdag 10 september 2009 18:03 > To: Werner Maes > Cc: 'Ralf Hornik Mailings'; samba(a)lists.samba.org > Subject: Re: [Samba] compiling samba-3.4.x on RHEL4 > > Werner Maes kirjoitti: > > no I haven't yet. > > > > perhaps I will try that tomorrow. > > > > but I'm wondering if I'm the only one with this error? > > No, looks like this problem comes also with my environment running > Centos 5.3 32bit. (rhel 5 clone) > > I think that is bug in make rpms system. > > -- > Eero -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Werner Maes on 14 Sep 2009 08:40 thank you ! werner > -----Original Message----- > From: eerov(a)welho.com [mailto:eerov(a)welho.com] > Sent: maandag 14 september 2009 14:32 > To: Werner Maes > Cc: 'Eero Volotinen'; 'Ralf Hornik Mailings' > Subject: RE: [Samba] compiling samba-3.4.x on RHEL4 > > I just opened bug about this: > > https://bugzilla.samba.org/show_bug.cgi?id=6721 > > Please add, if any comments or ideas. > > thanks > -- > Eero, > RHCE > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
First
|
Prev
|
Pages: 1 2 Prev: [Samba] compiling samba-3.4.x on RHEL4 Next: [Samba] Lightweight NetBIOS host enumeration in Python |