SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
configure: error: C compiler cannot create executables
Author Message
Post configure: error: C compiler cannot create executables 
Hi Thank you for your help  I have a Error

1. I installed webstack
2. I create PATH this command below

setenv PATH /opt/webstack/bin:/opt/webstack/mysql/bin/64:/opt/webstack/mysql/bin:/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/local/bin:$HOME/src/bacula/depkgs-qt/qt-x11-opensource-src-4.3.4/bin

3. I created son.sh batch file below


./configure
 CC=cc CXX=CC
 CFLAGS="-g -O"
 LDFLAGS="-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib"
 --prefix=/opt/bacula
 --datarootdir=/opt/bacula/share
 --mandir=/opt/bacula/man
 --with-archivedir=/opt/bacula/archive
 --with-working-dir=/opt/bacula/working
 --with-plugindir=/opt/bacula/plugins
 --with-scriptdir=/opt/bacula/scripts
 --with-subsys-dir=/opt/bacula/subsys
 --with-mysql=/opt/webstack/mysql
 --with-dir-password=password
 --with-fd-password=password
 --with-sd-password=password
 --with-dir-user=bacula
 --with-dir-group=backup
 --with-sd-user=bacula
 --with-sd-group=backup
 --with-fd-user=root
 --with-fd-group=backup
 --enable-smartalloc
 --enable-batch-insert
 --with-dump-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-job-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-smtp-host=mail
 --enable-bat
 --with-qwt=$HOME/src/bacula/depkgs-qt
 --enable-gnome

4. I run son.sh script I have a error

 ./son.sh
checking for true... /bin/true
checking for false... /bin/false
configuring for Bacula 5.0.2 (28 April 2010)
checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


5. into config.log  below

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure CC=cc CXX=CC CFLAGS=-g -O LDFLAGS=-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib --prefix=/opt/bacula --datarootdir=/opt/bacula/share --mandir=/opt/bacula/man --with-archivedir=/opt/bacula/archive --with-working-dir=/opt/bacula/working --with-plugindir=/opt/bacula/plugins --with-scriptdir=/opt/bacula/scripts --with-subsys-dir=/opt/bacula/subsys --with-mysql=/opt/webstack/mysql --with-dir-password=Evtkk977 --with-fd-password=Evtkk977 --with-sd-password=Evtkk977 --with-dir-user=bacula --with-dir-group=backup --with-sd-user=bacula --with-sd-group=backup --with-fd-user=root --with-fd-group=backup --enable-smartalloc --enable-batch-insert --with-dump-email=someone < at > example.com ([email]someone < at > example.com[/email]) --with-job-email=someone < at > example.com ([email]someone < at > example.com[/email]) --with-smtp-host=mail --enable-bat --with-qwt=//src/bacula/depkgs-qt --enable-gnome

## --------- ##
## Platform. ##
## --------- ##

hostname = SunM3000
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_142900-10

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = SunM3000
Release = 5.10
KernelID = Generic_142900-10
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>


What can I do this error please help  ??

checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


===========================================================================================================================================

OLD MAIL

Date: Fri, 9 Jul 2010 12:29:06 +1000
From: "Gary R. Schmidt" <grs < at > mcleod-schmidt.id.au ([email]grs < at > mcleod-schmidt.id.au[/email])>
Subject: Re: [Bacula-users] Use Bacula Sun Solaris 10 SPARC
To: "Koray AGAYA" <insanadair < at > gmail.com ([email]insanadair < at > gmail.com[/email])>
Cc: bacula-users < at > lists.sourceforge.net ([email]bacula-users < at > lists.sourceforge.net[/email])
Message-ID:
       <eb99b31a93ae0ea8e04495bad6996868.squirrel < at > www.mcleod-schmidt.id.au ([email]eb99b31a93ae0ea8e04495bad6996868.squirrel < at > www.mcleod-schmidt.id.au[/email])>
Content-Type: text/plain;charset=iso-8859-1

On Thu, July 8, 2010 20:59, Koray AGAYA wrote:
Thanks for your help I have a Question. How to flow Bacula on Sun Solaris
JAVA Desktop
Get the qt4.3 package from the Bacula depgks site, and build it.

Then, modify the configuration script in the 5.0.2 to look for qt where
you installed it, and then run configure.

Here's my re-conf.sh script, for 3.0.3, but since 5.x is so badly broken
I've avoided it.

I use the SunStudio compiler, even though the gcc version has fewer
warnings, the performance increase is worth it.  (And I've also modified
things to build a 64-bit version, which flies.)

I also use the WebStack MySQL, and had to massage configure to recognise
it.  Someday I'll re-start the discussion about configure recognising .so
files, but I'll wait on them fixing 5.x.

re-conf.sh:
#!/bin/sh

PATH=/opt/webstack/bin:/opt/webstack/mysql/bin/64:/opt/webstack/mysql/bin:/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/local/bin:$HOME/src/bacula/depkgs-qt/qt-x11-opensource-src-4.3.4/bin
export PATH

./configure
 CC=cc CXX=CC
 CFLAGS="-g -O"
 LDFLAGS="-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib"
 --prefix=/opt/bacula
 --datarootdir=/opt/bacula/share
 --mandir=/opt/bacula/man
 --with-archivedir=/opt/bacula/archive
 --with-working-dir=/opt/bacula/working
 --with-plugindir=/opt/bacula/plugins
 --with-scriptdir=/opt/bacula/scripts
 --with-subsys-dir=/opt/bacula/subsys
 --with-mysql=/opt/webstack/mysql
 --with-dir-password=password
 --with-fd-password=password
 --with-sd-password=password
 --with-dir-user=bacula
 --with-dir-group=backup
 --with-sd-user=bacula
 --with-sd-group=backup
 --with-fd-user=root
 --with-fd-group=backup
 --enable-smartalloc
 --enable-batch-insert
 --with-dump-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-job-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-smtp-host=mail
 --enable-bat
 --with-qwt=$HOME/src/bacula/depkgs-qt
 --enable-gnome

exit 0

Post configure: error: C compiler cannot create executables 
Could  you use GNU C++ compiler instead of CC compiler?

http://www.bacula.org/5.0.x-manuals/en/main/main/Installing_Bacula.html#SECTION0014130000000000000000





2010/7/9 Koray AGAYA <insanadair < at > gmail.com ([email]insanadair < at > gmail.com[/email])>
Hi Thank you for your help  I have a Error

1. I installed webstack
2. I create PATH this command below

setenv PATH /opt/webstack/bin:/opt/webstack/mysql/bin/64:/opt/webstack/mysql/bin:/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/local/bin:$HOME/src/bacula/depkgs-qt/qt-x11-opensource-src-4.3.4/bin

3. I created son.sh batch file below


./configure
 CC=cc CXX=CC
 CFLAGS="-g -O"
 LDFLAGS="-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib"
 --prefix=/opt/bacula
 --datarootdir=/opt/bacula/share
 --mandir=/opt/bacula/man
 --with-archivedir=/opt/bacula/archive
 --with-working-dir=/opt/bacula/working
 --with-plugindir=/opt/bacula/plugins
 --with-scriptdir=/opt/bacula/scripts
 --with-subsys-dir=/opt/bacula/subsys
 --with-mysql=/opt/webstack/mysql
 --with-dir-password=password
 --with-fd-password=password
 --with-sd-password=password
 --with-dir-user=bacula
 --with-dir-group=backup
 --with-sd-user=bacula
 --with-sd-group=backup
 --with-fd-user=root
 --with-fd-group=backup
 --enable-smartalloc
 --enable-batch-insert
 --with-dump-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-job-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-smtp-host=mail
 --enable-bat
 --with-qwt=$HOME/src/bacula/depkgs-qt
 --enable-gnome

4. I run son.sh script I have a error

 ./son.sh
checking for true... /bin/true
checking for false... /bin/false
configuring for Bacula 5.0.2 (28 April 2010)
checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


5. into config.log  below

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure CC=cc CXX=CC CFLAGS=-g -O LDFLAGS=-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib --prefix=/opt/bacula --datarootdir=/opt/bacula/share --mandir=/opt/bacula/man --with-archivedir=/opt/bacula/archive --with-working-dir=/opt/bacula/working --with-plugindir=/opt/bacula/plugins --with-scriptdir=/opt/bacula/scripts --with-subsys-dir=/opt/bacula/subsys --with-mysql=/opt/webstack/mysql --with-dir-password=Evtkk977 --with-fd-password=Evtkk977 --with-sd-password=Evtkk977 --with-dir-user=bacula --with-dir-group=backup --with-sd-user=bacula --with-sd-group=backup --with-fd-user=root --with-fd-group=backup --enable-smartalloc --enable-batch-insert --with-dump-email=someone < at > example.com ([email]someone < at > example.com[/email]) --with-job-email=someone < at > example.com ([email]someone < at > example.com[/email]) --with-smtp-host=mail --enable-bat --with-qwt=//src/bacula/depkgs-qt --enable-gnome

## --------- ##
## Platform. ##
## --------- ##

hostname = SunM3000
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_142900-10

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = SunM3000
Release = 5.10
KernelID = Generic_142900-10
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>


What can I do this error please help  ??

checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


===========================================================================================================================================

OLD MAIL

Date: Fri, 9 Jul 2010 12:29:06 +1000
From: "Gary R. Schmidt" <grs < at > mcleod-schmidt.id.au ([email]grs < at > mcleod-schmidt.id.au[/email])>
Subject: Re: [Bacula-users] Use Bacula Sun Solaris 10 SPARC
To: "Koray AGAYA" <insanadair < at > gmail.com ([email]insanadair < at > gmail.com[/email])>
Cc: bacula-users < at > lists.sourceforge.net ([email]bacula-users < at > lists.sourceforge.net[/email])
Message-ID:
       <eb99b31a93ae0ea8e04495bad6996868.squirrel < at > www.mcleod-schmidt.id.au ([email]eb99b31a93ae0ea8e04495bad6996868.squirrel < at > www.mcleod-schmidt.id.au[/email])>
Content-Type: text/plain;charset=iso-8859-1

On Thu, July 8, 2010 20:59, Koray AGAYA wrote:
Thanks for your help I have a Question. How to flow Bacula on Sun Solaris
JAVA Desktop
Get the qt4.3 package from the Bacula depgks site, and build it.

Then, modify the configuration script in the 5.0.2 to look for qt where
you installed it, and then run configure.

Here's my re-conf.sh script, for 3.0.3, but since 5.x is so badly broken
I've avoided it.

I use the SunStudio compiler, even though the gcc version has fewer
warnings, the performance increase is worth it.  (And I've also modified
things to build a 64-bit version, which flies.)

I also use the WebStack MySQL, and had to massage configure to recognise
it.  Someday I'll re-start the discussion about configure recognising .so
files, but I'll wait on them fixing 5.x.

re-conf.sh:
#!/bin/sh

PATH=/opt/webstack/bin:/opt/webstack/mysql/bin/64:/opt/webstack/mysql/bin:/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/local/bin:$HOME/src/bacula/depkgs-qt/qt-x11-opensource-src-4.3.4/bin
export PATH

./configure
 CC=cc CXX=CC
 CFLAGS="-g -O"
 LDFLAGS="-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib"
 --prefix=/opt/bacula
 --datarootdir=/opt/bacula/share
 --mandir=/opt/bacula/man
 --with-archivedir=/opt/bacula/archive
 --with-working-dir=/opt/bacula/working
 --with-plugindir=/opt/bacula/plugins
 --with-scriptdir=/opt/bacula/scripts
 --with-subsys-dir=/opt/bacula/subsys
 --with-mysql=/opt/webstack/mysql
 --with-dir-password=password
 --with-fd-password=password
 --with-sd-password=password
 --with-dir-user=bacula
 --with-dir-group=backup
 --with-sd-user=bacula
 --with-sd-group=backup
 --with-fd-user=root
 --with-fd-group=backup
 --enable-smartalloc
 --enable-batch-insert
 --with-dump-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-job-email=someone < at > example.com ([email]someone < at > example.com[/email])
 --with-smtp-host=mail
 --enable-bat
 --with-qwt=$HOME/src/bacula/depkgs-qt
 --enable-gnome

exit 0




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
_____________________________________________

Francisco Javier Funes Nieto [esencia < at > gmail.com ([email]esencia < at > gmail.com[/email])]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

Post configure: error: C compiler cannot create executables 
Koray AGAYA wrote:
Hi Thank you for your help I have a Error

[SNIP]
checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables

You haven't installed the SunStudio compilers, so you are getting the
default cc, which doesn't do anything.

Get SunStudio (free) from the Sun website or install gcc from the media
- it should have been installed by default, what is in /usr/sfw/bin,
/opt/sfw/bin?

Was a complete install done? Or one of the "limited" installs?

Cheers,
Gary B-)

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB