Hello, I`m new to Opensolaris. My installation is only 3 days old. The first 
impression is very good.
But I have really problems with the gcc compiler. Sometimes the compiler works 
but in most cases the gcc don't work. I'm trying to build a package with a 
command like this:

export CC=gcc
export CXX=g++
pkgtool build --download SFEsdl-image --autodeps

I get a result like this on here:

ERROR: SFEsdl-image FAILED
INFO: Check the build log in /tmp/SFEsdl-image.log for details

Summary:

                         package |      status | details
---------------------------------+-------------+-------------------------------
                    SFEsdl-image |      FAILED | pkgbuild build failed


the /tmp/SFEsdl-image.log shows this error:

pkgbuild: checking for gcc... /usr/sfw/bin/gcc
pkgbuild: checking for C compiler default output file name... configure: error: 
C compiler cannot create executables
pkgbuild: See `config.log' for more details.
pkgbuild: Bad exit status from /var/tmp/pkgbuild-ulf/pkgbuild-tmp-2.22461 
(%build)
--- command output ends --- finished at Sonntag,  1. Februar 2009, 17:40:39 Uhr 
CET

INFO: pkgbuild -ba finished at Sonntag,  1. Februar 2009, 17:40:39 Uhr CET

ERROR: SFEsdl-image FAILED
INFO: Check the build log in /tmp/SFEsdl-image.log for details



Has anyone an idea what I do wrong here?
-- 
This message posted from opensolaris.org

Reply via email to