LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slackware ./configure error (https://www.linuxquestions.org/questions/linux-newbie-8/slackware-configure-error-4175507097/)

starplateena 06-05-2014 02:03 AM

Slackware ./configure error
 
I'm new to slackware.

i'm trying to install freetds on my slackware 14.0 but i get this error when i run ./configure

config.log say:

gcc: error: unrecognized command line option '-V'
gcc : fatal error: no input files
gcc: error: unrecognized command line option '-qversion'
gcc : fatal error: no input files
...
...
error: C compiler cannot create executables

brianL 06-05-2014 02:43 AM

Get the SlackBuild. Be sure to read the HOWTO page.
http://slackbuilds.org/repository/14...pment/freetds/

starplateena 06-05-2014 03:25 AM

Quote:

Originally Posted by brianL (Post 5182752)
Get the SlackBuild. Be sure to read the HOWTO page.
http://slackbuilds.org/repository/14...pment/freetds/

already did that.. and the error still the same...

brianL 06-05-2014 03:31 AM

Have you done a full installation of Slackware?

starplateena 06-05-2014 03:33 AM

Quote:

Originally Posted by brianL (Post 5182776)
Have you done a full installation of Slackware?

no...
i only have slackware disc 1...
my server did't have dvd...
is that a problem...
i already run slackpkg update && slackpkg upgrade

brianL 06-05-2014 03:55 AM

You need CD2, that's got GCC and other development tools.
Another way to get a full install, without using another CD:
Quote:

If you want to install all uninstalled Slackware packages onto your system, use the following command instead of the install-new action:
slackpkg install slackware.
From the slackpkg manual page.

starplateena 06-05-2014 04:23 AM

Quote:

Originally Posted by brianL (Post 5182783)
You need CD2, that's got GCC and other development tools.
Another way to get a full install, without using another CD:

From the slackpkg manual page.

i will try slackpkg install slackware
and update to you tomorrow(Kuala Lumpur timezone) .

jpollard 06-05-2014 09:08 AM

gcc used to have a -V option for version reports. It now uses -v, and provides the configuration options used when the compiler was built.

You package is a bit dated and doesn't reflect that fact.

BTW, the -qversion option was merged into the -v...


All times are GMT -5. The time now is 12:13 AM.