POV-Ray : Newsgroups : povray.unix : RC7 compilation issues on ubuntu 12.10 Server Time
21 Dec 2024 11:09:28 EST (-0500)
  RC7 compilation issues on ubuntu 12.10 (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Bruno Cabasson
Subject: RC7 compilation issues on ubuntu 12.10
Date: 26 Feb 2013 16:30:00
Message: <web.512d2815d1ce46c22d84ff750@news.povray.org>
I recently installed ubuntu 12.10 alongside windows with wubi. After download of
Pov-Ray sources, ./configure says:

configure: error: in `/home/bruno/Documents/povray-3.7.0.RC7':
configure: error: C++ compiler cannot create executables

and config.log ends abruptly by:

#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STDLIB_H 1

configure: exit 1

Before investigating further, did anybody encounter the same issue, and/or does
have a quick answer ?

Thanks in advance.


Post a reply to this message

From: Ger
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 26 Feb 2013 17:46:00
Message: <512d3b28@news.povray.org>
Bruno Cabasson wrote:

> I recently installed ubuntu 12.10 alongside windows with wubi. After
> download of Pov-Ray sources, ./configure says:
> 
> configure: error: in `/home/bruno/Documents/povray-3.7.0.RC7':
> configure: error: C++ compiler cannot create executables
> 
> and config.log ends abruptly by:
> 
> #define HAVE_INTTYPES_H 1
> #define HAVE_STDINT_H 1
> #define HAVE_UNISTD_H 1
> #define HAVE_STDLIB_H 1
> 
> configure: exit 1
> 
> Before investigating further, did anybody encounter the same issue, and/or
> does have a quick answer ?
> 
> Thanks in advance.

You have to install "make" or "cmake"

-- 
Ger


Post a reply to this message

From: Bruno Cabasson
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 26 Feb 2013 18:50:00
Message: <web.512d49cecef781282d84ff750@news.povray.org>
Ger <ger### [at] gmailcom> wrote:
> Bruno Cabasson wrote:
>
> > I recently installed ubuntu 12.10 alongside windows with wubi. After
> > download of Pov-Ray sources, ./configure says:
> >
> > configure: error: in `/home/bruno/Documents/povray-3.7.0.RC7':
> > configure: error: C++ compiler cannot create executables
> >
> > and config.log ends abruptly by:
> >
> > #define HAVE_INTTYPES_H 1
> > #define HAVE_STDINT_H 1
> > #define HAVE_UNISTD_H 1
> > #define HAVE_STDLIB_H 1
> >
> > configure: exit 1
> >
> > Before investigating further, did anybody encounter the same issue, and/or
> > does have a quick answer ?
> >
> > Thanks in advance.
>
> You have to install "make" or "cmake"
>
> --
> Ger

They are not installed by default? Surprising. Thanks for the tip.

Bruno


Post a reply to this message

From: Bruno Cabasson
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 26 Feb 2013 18:55:00
Message: <web.512d4acfcef781282d84ff750@news.povray.org>
Ger <ger### [at] gmailcom> wrote:
> Bruno Cabasson wrote:
>
> > I recently installed ubuntu 12.10 alongside windows with wubi. After
> > download of Pov-Ray sources, ./configure says:
> >
> > configure: error: in `/home/bruno/Documents/povray-3.7.0.RC7':
> > configure: error: C++ compiler cannot create executables
> >
> > and config.log ends abruptly by:
> >
> > #define HAVE_INTTYPES_H 1
> > #define HAVE_STDINT_H 1
> > #define HAVE_UNISTD_H 1
> > #define HAVE_STDLIB_H 1
> >
> > configure: exit 1
> >
> > Before investigating further, did anybody encounter the same issue, and/or
> > does have a quick answer ?
> >
> > Thanks in advance.
>
> You have to install "make" or "cmake"
>
> --
> Ger

I installed cmake (make was available by default). Same behaviour. I appears
that my installation of ubuntu is probably corrupted. I'll try to get
confirmation for that. If so, I'll reinstall it all. :(

Bruno.


Post a reply to this message

From: clipka
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 26 Feb 2013 22:30:20
Message: <512d7dcc@news.povray.org>
Am 27.02.2013 00:52, schrieb Bruno Cabasson:

> I installed cmake (make was available by default). Same behaviour. I appears
> that my installation of ubuntu is probably corrupted. I'll try to get
> confirmation for that. If so, I'll reinstall it all. :(

Isn't it great how Linux wins big time over Windows in that it won't get 
irrevocably fucked up over time as Windows would?

:-P


Post a reply to this message

From: Le Forgeron
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 27 Feb 2013 04:09:18
Message: <512dcd3e$1@news.povray.org>
Le 26/02/2013 22:29, Bruno Cabasson a écrit :
> I recently installed ubuntu 12.10 alongside windows with wubi. After download of
> Pov-Ray sources, ./configure says:
> 
> configure: error: in `/home/bruno/Documents/povray-3.7.0.RC7':
> configure: error: C++ compiler cannot create executables
> 
> and config.log ends abruptly by:
> 
> #define HAVE_INTTYPES_H 1
> #define HAVE_STDINT_H 1
> #define HAVE_UNISTD_H 1
> #define HAVE_STDLIB_H 1
> 
> configure: exit 1
> 
> Before investigating further, did anybody encounter the same issue, and/or does
> have a quick answer ?
> 
> Thanks in advance.

You have of course installed g++, right ?
(C compiler is probably install by default, but IIRC not the C++ one)

In fact, you should have installed (with all dependencies):

    g++
    libboost-all-dev
    libpng12-dev
    libjpeg62-dev
    libtiff4-dev
    libopenexr-dev
    libsdl1.2-dev

(the "version" might vary, this was for 11.10, but I hope you get the idea)
-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 27 Feb 2013 07:36:26
Message: <512dfdca$1@news.povray.org>

> Am 27.02.2013 00:52, schrieb Bruno Cabasson:
>
>> I installed cmake (make was available by default). Same behaviour. I
>> appears
>> that my installation of ubuntu is probably corrupted. I'll try to get
>> confirmation for that. If so, I'll reinstall it all. :(
>
> Isn't it great how Linux wins big time over Windows in that it won't get
> irrevocably fucked up over time as Windows would?
>

   Yes, except for Ubuntu... they copied this "feature" from MS. :)

   I think I'm going back to Fedora ASAP...

--
Jaime


Post a reply to this message

From: Jim Henderson
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 27 Feb 2013 17:13:27
Message: <512e8507$1@news.povray.org>
On Wed, 27 Feb 2013 04:30:16 +0100, clipka wrote:

> Isn't it great how Linux wins big time over Windows in that it won't get
> irrevocably fucked up over time as Windows would?
> 
> :-P

Been using Linux since 1998, never had that problem.  Looked like it was 
a guess on Bruno's part.

Chances are there's just something missing in the build environment, or a 
permissions error (usually configure tries to build a simple executable 
and if it can't create one, it bombs out with that message).

Jim


Post a reply to this message

From: Bruno Cabasson
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 27 Feb 2013 18:20:00
Message: <web.512e938bcef781282d84ff750@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Le 26/02/2013 22:29, Bruno Cabasson a écrit :
> > I recently installed ubuntu 12.10 alongside windows with wubi. After download of
> > Pov-Ray sources, ./configure says:
> >
> > configure: error: in `/home/bruno/Documents/povray-3.7.0.RC7':
> > configure: error: C++ compiler cannot create executables
> >
> > and config.log ends abruptly by:
> >
> > #define HAVE_INTTYPES_H 1
> > #define HAVE_STDINT_H 1
> > #define HAVE_UNISTD_H 1
> > #define HAVE_STDLIB_H 1
> >
> > configure: exit 1
> >
> > Before investigating further, did anybody encounter the same issue, and/or does
> > have a quick answer ?
> >
> > Thanks in advance.
>
> You have of course installed g++, right ?
> (C compiler is probably install by default, but IIRC not the C++ one)
>
> In fact, you should have installed (with all dependencies):
>
>     g++
>     libboost-all-dev
>     libpng12-dev
>     libjpeg62-dev
>     libtiff4-dev
>     libopenexr-dev
>     libsdl1.2-dev
>
> (the "version" might vary, this was for 11.10, but I hope you get the idea)
> --
> Just because nobody complains does not mean all parachutes are perfect.

../configure finds gcc and does not complain until much further in the process.
gcc is not enough?


Post a reply to this message

From: Jim Henderson
Subject: Re: RC7 compilation issues on ubuntu 12.10
Date: 27 Feb 2013 18:26:43
Message: <512e9633$1@news.povray.org>
On Wed, 27 Feb 2013 18:15:23 -0500, Bruno Cabasson wrote:

> gcc is not enough?

Depends on what you're trying to build.

You probably need cpp as well, that may not be installed (not a Debian 
guy myself, so I don't know precisely what packages are needed).

There often is a log file created by configure, if there is, have a look 
to see what the specific error is that's generated. :)

Jim


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.