Hi, I just cvs the samba_2_2 branch with cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba and i try to compile samba with gcc under solaris 8 (SUNultra10): # pwd /tmp/samba/source # ./configure --with-automount --with-nisplus-home loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. # gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs gcc version 2.95.3 20010315 (release) # Perharps a problem with CFLAGS ? Thanks -- Guy Roussin
On Fri, 28 Dec 2001, Guy Roussin wrote:> # ./configure --with-automount --with-nisplus-home > loading cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc -O ) works... no > configure: error: installation or configuration problem: C compiler cannot create > executables. > # gcc -v > Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs > gcc version 2.95.3 20010315 (release) > # > > Perharps a problem with CFLAGS ?tail the last 100 lines of so of config.log and see why it failed. chau, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Guy, Did you install binutils tools, gcc will not work without them. Maher -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] On Behalf Of Guy Roussin Sent: Friday, December 28, 2001 10:24 AM To: samba@lists.samba.org Subject: Compiling samba with solaris Hi, I just cvs the samba_2_2 branch with cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba and i try to compile samba with gcc under solaris 8 (SUNultra10): # pwd /tmp/samba/source # ./configure --with-automount --with-nisplus-home loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. # gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs gcc version 2.95.3 20010315 (release) # Perharps a problem with CFLAGS ? Thanks -- Guy Roussin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Thank you, Some Solaris package were missings. ( http://www.science.uva.nl/pub/solaris/solaris2/Q6.2.html ) Guy Maher Atwah wrote:> > Guy, > > Did you install binutils tools, gcc will not work without them. > > Maher > > -----Original Message----- > From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] > On Behalf Of Guy Roussin > Sent: Friday, December 28, 2001 10:24 AM > To: samba@lists.samba.org > Subject: Compiling samba with solaris > > Hi, > I just cvs the samba_2_2 branch with > cvs -d :pserver:cvs@samba.org:/cvsroot co -r SAMBA_2_2 samba > > and i try to compile samba with gcc under solaris 8 (SUNultra10): > # pwd > /tmp/samba/source > # ./configure --with-automount --with-nisplus-home > loading cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc -O ) works... no > configure: error: installation or configuration problem: C compiler > cannot create > executables. > # gcc -v > Reading specs from > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs > gcc version 2.95.3 20010315 (release) > # > > Perharps a problem with CFLAGS ? > Thanks > -- > Guy Roussin > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- Guy Roussin UMR Cemagref-ENGREF Structures et Syst?mes Spatiaux Maison de la T?l?d?tection en Languedoc Roussillon 500, rue J.F. Breton 34093 MONTPELLIER Cedex 5 t?l: 04.67.54.87.46 fax: 04.67.54.87.00 mailto:guy.roussin@teledetection.fr