Dear list, is there anyone who successfully compiled a Samba 3.0.X on a Solaris 9 box? I tried severl versions of Samba 3.0.* on five rather differently configured Solaris 9 boxes (Sparc) and ALWAYS get a build error on dynconfig.c Sometimes it seems to be a missing ldap-preprocessor define (which is protested by the compiler although I configured --with-ldap=NO), sometimes it is a header file missing alltogether, such as Compiling dynconfig.c In file included from include/smb.h:1718, from include/includes.h:877, from dynconfig.c:21: include/popt_common.h:24:18: popt.h: No such file or directory make: *** [dynconfig.o] Error 1 but compilation never goes beyond dynconfig.c Having spent three days on fixing this problem I am increasingly convinced that the build process for Solaris 9 has a major problem. I would be happy for a pointer to a binary distribution as well. Best regards, Clemens Cap. -- Prof.Dr.Clemens H. CAP Dept.of Computer Science office phone +49-(0)381-498/7500 University of Rostock office fax +49-(0)381-498/7522 Albert Einstein Strasse 21 mailto:clemens.cap@computer.org D-18051 Rostock, Germany http://wwwiuk.informatik.uni-rostock.de http://wwwiuk.informatik.uni-rostock.de/sites/about/staff/cap_offizielle_Homepage.htm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Clemens Cap wrote: | Compiling dynconfig.c | In file included from include/smb.h:1718, | from include/includes.h:877, | from dynconfig.c:21: | include/popt_common.h:24:18: popt.h: No such file or directory | make: *** [dynconfig.o] Error 1 | | but compilation never goes beyond dynconfig.c | | Having spent three days on fixing this problem I am increasingly | convinced that the build process for Solaris 9 has a major problem. Works fine for me. Just add --with-included-popt. And unless you have the Openldap libs installed, add --with-ldap=no. Apparently someone in Sun has some patches to make the compile work with theiur libraries. We're waiting on those. btw....Thanks to Sun for providing a couple of Ultra 60's for Samba development. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDCcZqIR7qMdg1EfYRAraQAKC9nDgC6v2vs2QVgO3FsZmxklMUSwCfdpCf lum46AJ2Du5orPe0ykyYZXg=UqG4 -----END PGP SIGNATURE-----
On 22.08-12:25, Clemens Cap wrote:> is there anyone who successfully compiled a Samba 3.0.X on a Solaris 9 box?Yes, I successfully compile Samba 3.0.14a and 3.0.20 on our Solaris 9 boxes. I have MIT krb5 1.4 and openldap 2.2.23 installed. Regards Chris -- ---------------------------------------------------------------------- Christoph Kaegi kgc@zhwin.ch ----------------------------------------------------------------------
> Dear list, > > is there anyone who successfully compiled a Samba 3.0.X on a Solaris 9 > box?Yep, quite a bit actually. I've posted numerous environment things you may need to the list also.> I tried severl versions of Samba 3.0.* on five rather differently > configured Solaris 9 boxes (Sparc) and ALWAYS get a build error > on dynconfig.cWhat compiler?> Sometimes it seems to be a missing ldap-preprocessor define (which is > protested by the compiler although I configured --with-ldap=NO), > sometimes it is a header file missing alltogether, such asIs NO a valid option? I see 'no', --without-XXXX and possibly --disable-XXXX, as options, but I don't know about NO.> Compiling dynconfig.c > In file included from include/smb.h:1718, > from include/includes.h:877, > from dynconfig.c:21: > include/popt_common.h:24:18: popt.h: No such file or directory > make: *** [dynconfig.o] Error 1 > > but compilation never goes beyond dynconfig.cI can't remember where exactly this was, but I'd bet it was in your env settings. Could you post your active environment variables and also the output of crle?> Having spent three days on fixing this problem I am increasingly > convinced that the build process for Solaris 9 has a major problem. > > I would be happy for a pointer to a binary distribution as well.Sunfreeware hosts a 3.0.10 set if you're looking for a non-ldap binary version. Yes it's old, but it's an option.> Best regards, > Clemens Cap. > > -- > Prof.Dr.Clemens H. CAP > Dept.of Computer Science office phone +49-(0)381-498/7500 > University of Rostock office fax +49-(0)381-498/7522 > Albert Einstein Strasse 21 mailto:clemens.cap@computer.org > D-18051 Rostock, Germany http://wwwiuk.informatik.uni-rostock.de > http://wwwiuk.informatik.uni- > rostock.de/sites/about/staff/cap_offizielle_Homepage.htm > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba