Help,Why I cannot install ruby under linux

Hi,

I try to install ruby, but when I typed ./configure there is an error
massage:c compiler cannot create executables,then I typed “make” in the
command line, there is another error message:“no target specified and no
makefile found.” What is wrong with the installation? I did find Makefile.in
in this directory.Thanks.

Maggie

Hi,

···

At Thu, 11 Jul 2002 11:23:00 +0900, Maggie Xiao wrote:

I try to install ruby, but when I typed ./configure there is an error
massage:c compiler cannot create executables,

What message?


Nobu Nakada

Hello –

···

On Thu, 11 Jul 2002, Maggie Xiao wrote:

Hi,

I try to install ruby, but when I typed ./configure there is an error
massage:c compiler cannot create executables,then I typed “make” in the
command line, there is another error message:“no target specified and no
makefile found.” What is wrong with the installation? I did find Makefile.in
in this directory.Thanks.

It sounds like your C compiler cannot create executables :slight_smile: What
platform are you on? What happens if you type “cc” at the command
line?

(Also, Makefile.in is just the template for Makefile. If ./configure
doesn’t work, then Makefile itself won’t exist.)

David


David Alan Black
home: dblack@candle.superlink.net
work: blackdav@shu.edu
Web: http://pirate.shu.edu/~blackdav

Hello,

I try to install ruby, but when I typed ./configure there is an error
massage:c compiler cannot create executables, […]

It sounds like your C compiler cannot create executables :slight_smile:
What platform are you on?

It sounds like Maggie is using linux. :wink:
But seriously, it help to name the vendor of the distribution, as well as the
version of the distribution.

What happens if you type “cc” at the command line?

Thus it should help to search for gcc package/packages in your install/admin
program. (Eg. yast in SuSE.)

Sometimes there is a list of useful packages called like “Development
Workstation” so you don’t have to check individual packages.

HTH,
Stepan

···

On Thu, 11 Jul 2002 03:05:36 GMT, David Alan Black wrote:

On Thu, 11 Jul 2002, Maggie Xiao wrote: