Re: C++ compiler g++-4.9

2014-12-12 Thread berenger . morel



Le 10.12.2014 13:23, Nick Mpallas a écrit :

Hi guys,
I am building a platform and I need to compile apache mesos from
sources. The issue is that the guys the require support for specific
c++11 features that in the 4.7 compiler currently supported by debian
aren't there. Will the g++ compiler will be updated?We would like to
use debian as the backbone operating system for our cluster.

regards


What I would do if I were you, would be to add Jessie in your 
sources.list, not as a normal repository, but only as a source one 
(src-deb).
So, you would be able to retrieve g++ Jessies's source package, and 
build it on the stable libc6. This will result in a debian package that 
you'll be able to deploy on your cluster.


Now, be careful: you will have to find a way to know when there is an 
update of that package, to not miss security updates. Especially if the 
softwares you write are available through network.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/7066e3b7005e60ed930746009571b...@neutralite.org



RE: C++ compiler g++-4.9

2014-12-12 Thread berenger . morel



Le 11.12.2014 13:20, Bonno Bloksma a écrit :

Hi,


On 12/10/2014 01:23 PM, Nick Mpallas wrote:

I am building a platform and I need to compile apache mesos from
sources. The issue is that the guys the require support for 
specific
c++11 features that in the 4.7 compiler currently supported by 
debian

aren't there. Will the g++ compiler will be updated?


The versions in each release don't get updated, that's part of what 
makes it "stable".


That and the fact that Debian tries to use a version of the software
that has been out for a while and has proven to be relative free of
bugs.


Well, versions don't get updated, except if you include the backports 
in your sources.list.
Also, are only security fixes updated, or bugs are included? If both or 
those updates are included, I guess that a software which maintains a 
stable release with versions dedicated to fixes could be updated in 
stable.

Am I wrong?



You'll need either to use jessie (that's going to be released in a 
couple of months), or you could build an in house gcc backport (or 
even request one to the backports team: [1])


One can even start using Jessie now if the problems that prevent
releasing Jessie are not problems one runs into.


The OP mentioned that he want to use Debian for a cluster. I doubt 
that, for clusters, one would use a beta version, and Jessie is, 
actually, a beta version.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/8d7a0b3482c36d1b56ef03060f64b...@neutralite.org



RE: C++ compiler g++-4.9

2014-12-11 Thread Bonno Bloksma
Hi,

> On 12/10/2014 01:23 PM, Nick Mpallas wrote:
>> I am building a platform and I need to compile apache mesos from 
>> sources. The issue is that the guys the require support for specific 
>> c++11 features that in the 4.7 compiler currently supported by debian 
>> aren't there. Will the g++ compiler will be updated?
>
> The versions in each release don't get updated, that's part of what makes it 
> "stable".

That and the fact that Debian tries to use a version of the software that has 
been out for a while and has proven to be relative free of bugs.

> You'll need either to use jessie (that's going to be released in a couple of 
> months), or you could build an in house gcc backport (or even request one to 
> the backports team: [1])

One can even start using Jessie now if the problems that prevent releasing 
Jessie are not problems one runs into.

Bonno Bloksma



Re: C++ compiler g++-4.9

2014-12-10 Thread Maximiliano Curia
On 12/10/2014 01:23 PM, Nick Mpallas wrote:
> I am building a platform and I need to compile apache mesos from sources. The
> issue is that the guys the require support for specific c++11 features that in
> the 4.7 compiler currently supported by debian aren't there. Will the g++
> compiler will be updated?

The versions in each release don't get updated, that's part of what makes it
"stable". You'll need either to use jessie (that's going to be released in a
couple of months), or you could build an in house gcc backport (or even
request one to the backports team: [1])

Happy hacking,

[1]: https://wiki.debian.org/Teams/Backports
-- 
"If you think your users are idiots, only idiots will use it."
-- Linus Torvalds
Saludos /\/\ /\ >< `/



signature.asc
Description: OpenPGP digital signature


Re: C++ compiler g++-4.9

2014-12-10 Thread Kumar Appaiah
On Wed, Dec 10, 2014 at 01:23:31PM +0100, Nick Mpallas wrote:
>Hi guys,
>I am building a platform and I need to compile apache mesos from sources.
>The issue is that the guys the require support for specific c++11 features
>that in the 4.7 compiler currently supported by debian aren't there. Will
>the g++ compiler will be updated?We would like to use debian as the
>backbone operating system for our cluster.

Your hint would be to check the g++ package.

>From what I can tell, the testing g++ package is, indeed, g++-4.9,
from https://packages.debian.org/jessie/g++

So, you can expect jessie to ship with g++-4.9 as the default.

Kumar
-- 
Checking host system type...
i586-unknown-linux
configure: error: sorry, this is the gnu os, not linux
-- Topic on #Linux


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141210130856.GA29959@odessa



Re: C++ compiler g++-4.9

2014-12-10 Thread Florent Peterschmitt
 

Le 2014-12-10 13:23, Nick Mpallas a écrit : 

> Hi guys, 
> I am building a platform and I need to compile apache mesos from sources. The 
> issue is that the guys the require support for specific c++11 features that 
> in the 4.7 compiler currently supported by debian aren't there. Will the g++ 
> compiler will be updated?We would like to use debian as the backbone 
> operating system for our cluster. 
> 
> regards 
> 
> -- 
> 
> nm
> "camel is a horse made up in a laboratory"

Stop me if I'm wrong, but: no major updates in a release. GCC 4.9 should
be in Jessie, and is in Sid, but Jessie isn't yet released and Sid is
not a release. 
-- 

Florent Peterschmitt | Please:
flor...@peterschmitt.fr | * Avoid HTML/RTF in E-mail.
http://florent.peterschmitt.fr | * Send PDF for documents.
Proudly powered by FLOSS | * Trim your quotations. Really.
 | Thank you 
 

Re: C Compiler

2012-11-13 Thread Vincent Lefevre
On 2012-11-13 18:22:17 -0600, John Hasler wrote:
> Samuel Morgan writes:
> > Where do I get a C Compiler built for DEBIAN Squeeze so I can build
> > other packages?
> 
> As others have said, install the "build-essentials" package.  It
[...]

build-essential (without an s).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121114013907.gc1...@xvii.vinc17.org



Re: C Compiler

2012-11-13 Thread John Hasler
Samuel Morgan writes:
> Where do I get a C Compiler built for DEBIAN Squeeze so I can build
> other packages?

As others have said, install the "build-essentials" package.  It
contains the GNU C compiler and other things you need to packages.
First, though, tell us what it is that you want to build.  It may
already be available from the Debian archive, which contains about
30,000 Free Software packages.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fw4d9gp2@thumper.dhh.gt.org



Re: C Compiler

2012-11-13 Thread Dr Beco
> On Tue, Nov 13, 2012 at 8:23 PM, Samuel Morgan  wrote:
>> Hi-
[cut]
>>
>> Can you help?   What is build-essential?
>>
>> Thanks,
>>
>> Tom
>

On Tue, Nov 13, 2012 at 8:44 PM, Dr Beco  wrote:
[cut]
> #sudo apt-get install build-essential
>
> (without #).
>
> Good luck!
> Beco


Sorry guys, for the top-post. Google tricked me with this new display.

Cheers,
Beco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2ykuaf9sq0unx34d9kdbpzlxnmsx3avun_7rpy1nqb...@mail.gmail.com



Re: C Compiler

2012-11-13 Thread Dr Beco
Hi Samuel,

Try open a terminal window and type:

#sudo apt-get install build-essential

(without #).

Good luck!
Beco





On Tue, Nov 13, 2012 at 8:23 PM, Samuel Morgan  wrote:
> Hi-
>
> I as sent to you to answer this question:
>
> "
>> Where do I get a C Compiler built for DEBIAN Squeeze so I can build other
>> packages?  The page(s) GNU
>> sends me too either are no longer in service or charge fees.  Can you
>> help?
>
> Those kinds of questions are better asked on
> debian-user@lists.debian.org.
>
> You probably want to install the build-essential package, which gives
> you a C compiler amongst other bits.
> "
>
> Can you help?   What is build-essential?
>
> Thanks,
>
> Tom



-- 
Dr Beco
A.I. researcher

--> . <--

"Look again at that dot. That's here. That's home. That's us. On it
everyone you love, everyone you know..." (Carl Sagan, 1934-1996)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2ymso2q+95crrwcn+klmbjjx37wrt+f0kx3yj5hxiz...@mail.gmail.com



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Osamu Aoki
On Thu, Jun 30, 2011 at 03:17:44PM -0500, Harry Putnam wrote:
> I'm trying to compile emacs-24 on a newly installed squeeze system.
> 
> I get the error  C compiler cannot create executables
> 
> Googling on that, gets several different answers.  
> 
> apt-get install build-essentials  (didn't didn't help)
> 
> apt-get install g++  (didn't help) 
> apt-get install libc-dev  (didn't help)
> 
> checking `aptitude search gcc|less'  I see too many pkgs to start
> guessing what I need.
> 
> Can anyone tell me what I need for the compiler to work building emacs?

You sounds like doing this for learning and trying to build upstream
tarball, read the source is my official answer.

But there are easier way to get some feel if recent upstream changes are
small or just rebuilding.  You can use debian package as good start
(replace upstream part source as needed).  For this, Understanding of
how to build Debian package may be good start.

http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_porting_a_package_to_the_stable_system

$ apt-get build-dep foo

installs dependency.  This gives you some idea.  You can backport 2.33
in unstable archive to stable system by this way.  isnt this easiest?

Osamu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110702025501.gd16...@debian.org



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Harry Putnam
Harry Putnam  writes:

> Still though, I hit a little snap at the end of compile I haven't
> figured out yet:
>
> [...] snipped all but last of `./configure'
>
>   creating src/epaths.h
>   cd /usr/local/src/bzr/emacs/trunk && autoheader
>   /bin/sh: autoheader: not found
>   make: *** [/usr/local/src/bzr/emacs/trunk/src/stamp-h.in] Error 127
>   config.status: executing gdbinit commands
>
> aptitude knows nothing about `autoheader' or even
>
>   aptitude search header|grep auto

This turned out to be related to not having dh-autoreconf installed 

Finally got a compile to work... thanks for all the input and patience


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8762nlo1my@newsguy.com



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Harry Putnam
Tom Furie  writes:

> On Fri, Jul 01, 2011 at 06:55:22AM -0500, Harry Putnam wrote:
>
>> I got past that now... apparently finally got whatever it was
>> installed.  But now ./configure complains about X libraries:
>> 
>>error: You seem to be running X, but no X development libraries
>>were found.  You should install the relevant development files for
>
> Have you installed xorg-dev?

Egad, I started to install that but got distracted somehow and now on
checking I see I never did... thanks.

lee  writes:

[...]

> You're welcome :) It might be nice to try out the most recent version of
> emacs ...  I needed to install libgif-dev for configure to
> finish.  Now it's compiling ... and seems to have finished without
> errors :)  Yes, and I can run it just fine.  It seems to have trouble
> finding some packages required from my ~/.emacs.  That's probably
> because I didn't install it before trying.
>
> What I have installed is lesstif2 and libgtk2.0-dev.  You can try
> installing libgtk2.0-dev or libgtk-3-dev or libmotiv-dev.

I needed a few others too, like libncurses-dev.  And a few more.

But now I kind of see how to find the needed stuff.

Still though, I hit a little snap at the end of compile I haven't
figured out yet:

[...] snipped all but last of `./configure'

  creating src/epaths.h
  cd /usr/local/src/bzr/emacs/trunk && autoheader
  /bin/sh: autoheader: not found
  make: *** [/usr/local/src/bzr/emacs/trunk/src/stamp-h.in] Error 127
  config.status: executing gdbinit commands

aptitude knows nothing about `autoheader' or even

  aptitude search header|grep auto



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87pqlto45u@newsguy.com



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread lee
Harry Putnam  writes:

> lee  writes:
>>> I got past that now... apparently finally got whatever it was
>>> installed.  But now ./configure complains about X libraries:
>>>
>>>error: You seem to be running X, but no X development libraries
>>>were found.  You should install the relevant development files for
>>>X and for the toolkit you want, such as Gtk+, Lesstif or Motif.
>>>Also make sure you have development files for image handling, i.e.
>>>tiff, gif, jpeg, png and xpm.
>>>
>>> Do you know which packages might be needed?
>>
>> Not yet; give me some more time and I'll try to compile emacs24 and let
>> you know what I find out ...
>
> OK, thanks for the effort.

You're welcome :) It might be nice to try out the most recent version of
emacs ...  I needed to install libgif-dev for configure to
finish.  Now it's compiling ... and seems to have finished without
errors :)  Yes, and I can run it just fine.  It seems to have trouble
finding some packages required from my ~/.emacs.  That's probably
because I didn't install it before trying.

What I have installed is lesstif2 and libgtk2.0-dev.  You can try
installing libgtk2.0-dev or libgtk-3-dev or libmotiv-dev.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87iprl4ue2@yun.yagibdah.de



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Tom Furie
On Fri, Jul 01, 2011 at 06:55:22AM -0500, Harry Putnam wrote:

> I got past that now... apparently finally got whatever it was
> installed.  But now ./configure complains about X libraries:
> 
>error: You seem to be running X, but no X development libraries
>were found.  You should install the relevant development files for

Have you installed xorg-dev?

Cheers,
Tom

-- 
Genius is one percent inspiration and ninety-nine percent perspiration.
-- Thomas Alva Edison


signature.asc
Description: Digital signature


Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Harry Putnam
Axel Freyn  writes:

>> >> Do you know which packages might be needed?
>> >
>> > Not yet; give me some more time and I'll try to compile emacs24 and let
>> > you know what I find out ...
>> 
>> OK, thanks for the effort.
>
> The easiest solution might be to run
>
> aptitude build-dep emacs23
>
> this will install the build-dependences for emacs23 -- which are
> probably a good start to try compiling emacs24.
> (Maybe they are already sufficient)

What that appeared to do was uninstall a bunch of little xfce addon
pkgs.

It seems to have had no effect whatever on ./configure on emacs-24
source.  I still the very same error message:

>>error: You seem to be running X, but no X development libraries
>>were found.  You should install the relevant development files
>>for X and for the toolkit you want, such as Gtk+, Lesstif or
>>Motif.  Also make sure you have development files for image
>>handling, i.e.  tiff, gif, jpeg, png and xpm.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/878vshq5x9@newsguy.com



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Axel Freyn
Hi Harry,
> >> I got past that now... apparently finally got whatever it was
> >> installed.  But now ./configure complains about X libraries:
> >>
> >>error: You seem to be running X, but no X development libraries
> >>were found.  You should install the relevant development files for
> >>X and for the toolkit you want, such as Gtk+, Lesstif or Motif.
> >>Also make sure you have development files for image handling, i.e.
> >>tiff, gif, jpeg, png and xpm.
> >>
> >> Do you know which packages might be needed?
> >
> > Not yet; give me some more time and I'll try to compile emacs24 and let
> > you know what I find out ...
> 
> OK, thanks for the effort.

The easiest solution might be to run

aptitude build-dep emacs23

this will install the build-dependences for emacs23 -- which are
probably a good start to try compiling emacs24.
(Maybe they are already sufficient)

Axel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110701155523.GC15234@axel



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Harry Putnam
lee  writes:

> Harry Putnam  writes:
>
>> lee  writes:
>>
>>> Harry Putnam  writes:
>>>
 I'm trying to compile emacs-24 on a newly installed squeeze system.
>>>
>>> Where did you get version 24?
>>
>>>From the bzr server on savannah.org where emacs devel is done.
>
> savannah.gnu.org?

Gack ... sorry ... yes.

 I get the error  C compiler cannot create executables
 [...]
 Can anyone tell me what I need for the compiler to work building emacs?
>>> Can the compiler create executables when you compile other software?  I
>>> don't know what it takes to compile emacs 24.  I might try and find
>>> out, just couldn't find it.
>>
>> I got past that now... apparently finally got whatever it was
>> installed.  But now ./configure complains about X libraries:
>>
>>error: You seem to be running X, but no X development libraries
>>were found.  You should install the relevant development files for
>>X and for the toolkit you want, such as Gtk+, Lesstif or Motif.
>>Also make sure you have development files for image handling, i.e.
>>tiff, gif, jpeg, png and xpm.
>>
>> Do you know which packages might be needed?
>
> Not yet; give me some more time and I'll try to compile emacs24 and let
> you know what I find out ...

OK, thanks for the effort.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87wrg2ovn9@newsguy.com



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread lee
Harry Putnam  writes:

> lee  writes:
>
>> Harry Putnam  writes:
>>
>>> I'm trying to compile emacs-24 on a newly installed squeeze system.
>>
>> Where did you get version 24?
>
>>From the bzr server on savannah.org where emacs devel is done.

savannah.gnu.org?

>>> I get the error  C compiler cannot create executables
>>> [...]
>>> Can anyone tell me what I need for the compiler to work building emacs?
>> Can the compiler create executables when you compile other software?  I
>> don't know what it takes to compile emacs 24.  I might try and find
>> out, just couldn't find it.
>
> I got past that now... apparently finally got whatever it was
> installed.  But now ./configure complains about X libraries:
>
>error: You seem to be running X, but no X development libraries
>were found.  You should install the relevant development files for
>X and for the toolkit you want, such as Gtk+, Lesstif or Motif.
>Also make sure you have development files for image handling, i.e.
>tiff, gif, jpeg, png and xpm.
>
> Do you know which packages might be needed?

Not yet; give me some more time and I'll try to compile emacs24 and let
you know what I find out ...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877h82829o@yun.yagibdah.de



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Nico Kadel-Garcia
On Thu, Jun 30, 2011 at 4:17 PM, Harry Putnam  wrote:
> I'm trying to compile emacs-24 on a newly installed squeeze system.
>
> I get the error  C compiler cannot create executables
>
> Googling on that, gets several different answers.
>
> apt-get install build-essentials  (didn't didn't help)
>
> apt-get install g++  (didn't help)
> apt-get install libc-dev  (didn't help)
>
> checking `aptitude search gcc|less'  I see too many pkgs to start
> guessing what I need.
>
> Can anyone tell me what I need for the compiler to work building emacs?

Can you grab an older Debian source package and build from that,
first, for a guideline? "apt-get source emacs" sould be a good start.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktin7h8_-sne-5zczoxiydwrruah...@mail.gmail.com



Re: C compiler cannot create executables no good google answers

2011-07-01 Thread Harry Putnam
lee  writes:

> Harry Putnam  writes:
>
>> I'm trying to compile emacs-24 on a newly installed squeeze system.
>
> Where did you get version 24?

>From the bzr server on savannah.org where emacs devel is done.

>> I get the error  C compiler cannot create executables
>> [...]
>> Can anyone tell me what I need for the compiler to work building emacs?
> Can the compiler create executables when you compile other software?  I
> don't know what it takes to compile emacs 24.  I might try and find
> out, just couldn't find it.

I got past that now... apparently finally got whatever it was
installed.  But now ./configure complains about X libraries:

   error: You seem to be running X, but no X development libraries
   were found.  You should install the relevant development files for
   X and for the toolkit you want, such as Gtk+, Lesstif or Motif.
   Also make sure you have development files for image handling, i.e.
   tiff, gif, jpeg, png and xpm.

Do you know which packages might be needed?





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8762nmqkph@newsguy.com



Re: C compiler cannot create executables no good google answers

2011-06-30 Thread Miles Bader
Harry Putnam  writes:
> I'm trying to compile emacs-24 on a newly installed squeeze system.
>
> I get the error  C compiler cannot create executables

Since emacs-24 uses autoconf, you can look at the file "config.log" to
see more details about what went wrong running configure... look for the
actual error message from the compiler.

-Miles

-- 
"1971 pickup truck; will trade for guns"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/buor56ahcw8@dhlpc061.dev.necel.com



Re: C compiler cannot create executables no good google answers

2011-06-30 Thread lee
Harry Putnam  writes:

> I'm trying to compile emacs-24 on a newly installed squeeze system.

Where did you get version 24?

> I get the error  C compiler cannot create executables
> [...]
> Can anyone tell me what I need for the compiler to work building emacs?

Can the compiler create executables when you compile other software?  I
don't know what it takes to compile emacs 24.  I might try and find
out, just couldn't find it.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87sjqrne3i@yun.yagibdah.de



Re: C compiler cannot create executables (Ubuntu 8.04)

2009-01-22 Thread Bob Cox
On Thu, Jan 22, 2009 at 19:49:10 +0100, Bernard (bdebr...@teaser.fr) wrote: 

> Hi to Everyone,
>
> With Debian (and Ubuntu as well), implementation of new software by  
> means of ready-to-install packages, is a most convenient feature.  
> However, time comes when a package is not available, and then it becomes  
> worthwhile to try a basic compile of a generic package, usually  
> available as a tar.gz file. It recently happened to me with the  
> 'Lifelines' package : the version available for Debian Sarge was buggy,  
> the newer version without this bug was not available on the debian  
> databases. 

Is the lenny/sid version new enough?

http://packages.debian.org/search?keywords=lifelines


-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Please reply to the list only.  Do NOT send copies directly to me.
Debian on the NSLU2: http://bobcox.com/slug/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: C compiler cannot create executables (Ubuntu 8.04)

2009-01-22 Thread Jeff D
On Thu, 22 Jan 2009, Bernard wrote:

> However, it failed to work here. In the appropriate directory, I first typed
> './configure'. Things seemed to start all-right, but after a short while it
> said : "C compiler cannot create executables"
>
> What do I miss so that I get such a reply ?
>
> I also get this : "see config.log for more details". So, I made this logfile
> available on
>
> Thanks in advance for any help
>
have you installed the build-essential package?  That should install
everything you need to compile

-- 
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: C Compiler cannot create executables

2008-02-26 Thread Daniel Burrows
On Tue, Feb 26, 2008 at 10:00:13PM +1100, Rich Healey <[EMAIL PROTECTED]> was 
heard to say:
> I think i did something stupid accidentally apt-get dist-upgrade'd for
> the first time in 6 months with a compile going in the background, and
> now when i go to build E the autogen script tells me that gcc can't
> create executables...?

  Are there any clues in config.log?

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler cannot create executables

2008-02-26 Thread Eduardo M KALINOWSKI
On Tue, Feb 26, 2008 at 8:00 AM, Rich Healey <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
>
>  I think i did something stupid accidentally apt-get dist-upgrade'd for
>  the first time in 6 months with a compile going in the background, and
>  now when i go to build E the autogen script tells me that gcc can't
>  create executables...?
>
>  What else CAN it do?

Have you tried reinstalling the gcc package?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler?

2005-05-28 Thread Ionut Georgescu
On Sat, 2005-05-28 at 14:51 -0400, David R. Litwin wrote:
> I've yet to find config.log. However, this is what the programme
> (Konstruct: Make Install) says:
> 
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.

Hi David,

apt-get install gcc g++ libc6-dev

If the above command has installed gcc
-# version 3.3 then install libstdc++5-3.3-dev
-# version 3.4 then install libstdc++6-dev

This should be the very minimum required for C/C++ development.

Good luck,
Ionut

-- 
***
* Ionut Georgescu
* Max-Plank-Institut für Physik komplexer Systeme
* Nöthnitzer Str. 38
* D-01187 Dresden
*
* Tel: +49 (351) 871-1109
* Fax: +49 (351) 871-1999



signature.asc
Description: This is a digitally signed message part


Re: C Compiler?

2005-05-28 Thread David R. Litwin
I've yet to find config.log. However, this is what the programme (Konstruct: Make Install) says:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


Re: C Compiler?

2005-05-24 Thread Adam Mercer
On 25/05/05, David R. Litwin <[EMAIL PROTECTED]> wrote:
> Where is config.log?

In the directory of the package you're trying to build!

Cheers

Adam



Re: C Compiler?

2005-05-24 Thread David R. Litwin
Where is config.log?


Re: C Compiler?

2005-05-24 Thread Nikita V. Youshchenko


> This message keeps croping up and giving me heck:
> 
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.

You probablt don't have either C compiler of libc-dev package installed.
Please post last 30 lines from config.log file if you want details.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



chmod o-x `which gcc` considered harmful (was Re: C Compiler)

2004-05-29 Thread Jonathan Dowland
On Wed, May 26, 2004 at 10:31:21AM -0700, Bill Moseley wrote:
> On Wed, May 26, 2004 at 09:36:52AM -0600, s. keeling wrote:
> > Usenix' ;login: had an article recently discussing this sort of
> > vulnerability.  If you're letting just anyone at your C compiler, you
> > MAY be facilitating exploits.
> 
> I suppose any access is more of a security risk.  But if someone can
> gain access via a network then it seems like they could also probably
> compile a program elsewhere and bring it in also.

If the binary is +r; it could be copied and +x added; or the entire
thing just interpreted through ld

$ /lib/ld-2.3.2.so `which gcc` test.c

> > Personally, I'd tend to think that once they're in, all bets are off
> > and locking down the C compiler is the least of your problems.
> 
> Exactly.

Indeed - attempting to lock down binaries like that serves only to
instill a false sense of security.

-- 
Jon Dowland


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler

2004-05-26 Thread Bill Moseley
On Wed, May 26, 2004 at 09:36:52AM -0600, s. keeling wrote:
> Usenix' ;login: had an article recently discussing this sort of
> vulnerability.  If you're letting just anyone at your C compiler, you
> MAY be facilitating exploits.

I suppose any access is more of a security risk.  But if someone can
gain access via a network then it seems like they could also probably
compile a program elsewhere and bring it in also.

> Personally, I'd tend to think that once they're in, all bets are off
> and locking down the C compiler is the least of your problems.

Exactly.

-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler

2004-05-26 Thread s. keeling
Incoming from Bill Moseley:
> On Wed, May 26, 2004 at 03:10:54AM +0300, Micha Feigin wrote:
> > I could be a permission issue. I know some systems don't allow
> > compiling as a regular user for security reasons so that if crackers
> > break in they won't be able to use the local c compiler to build a root
> > exploit.
> 
> Can you post a reference to where this "security" configuration is
> recommended?

It was common knowledge when I got into this stuff.  Pg. 382 of "Unix
System Administrator's Bible" has a listing of a short C program that
exploits a buffer overflow in Solaris' "ping".  Whether it still
works, who knows?

Usenix' ;login: had an article recently discussing this sort of
vulnerability.  If you're letting just anyone at your C compiler, you
MAY be facilitating exploits.

Personally, I'd tend to think that once they're in, all bets are off
and locking down the C compiler is the least of your problems.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)   http://www.spots.ab.ca/~keeling 
- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler

2004-05-26 Thread Bill Moseley
On Wed, May 26, 2004 at 03:10:54AM +0300, Micha Feigin wrote:
> I could be a permission issue. I know some systems don't allow
> compiling as a regular user for security reasons so that if crackers
> break in they won't be able to use the local c compiler to build a root
> exploit.

Can you post a reference to where this "security" configuration is
recommended?

-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler

2004-05-25 Thread Micha Feigin
On Tue, May 25, 2004 at 03:15:35PM -0500, Edwards, Thomas W. wrote:
> I am attempting to install mysql , while compiling I get an error that
> says C Compiler cannot create executables?  Does this error sound
> familiar?
> 

I could be a permission issue. I know some systems don't allow
compiling as a regular user for security reasons so that if crackers
break in they won't be able to use the local c compiler to build a root
exploit.

Try compiling a simple hello world program as user and see if it fails
and then try as root (if you have access) and see if that works.
The following should be enough to test this:

 test.c 

int main()
{
return 0;
}



save as test.c and run gcc test.c as regular user and root.

> I put the log below, is there another file necessary for this or is it a
> permissions issue.  Thanks.
> >From Config Log:
> 
> configure:2619: checking for C compiler default output
> configure:2622: gcc conftest.c  >&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> configure:2625: $? = 1
> configure: failed program was:
> | #line 2598 "configure"
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "mysql"
> | #define VERSION "4.0.20"
> | #define PROTOCOL_VERSION 10
> | #define DOT_FRM_VERSION 6
> | #define SYSTEM_TYPE "pc-linuxlibc1"
> | #define MACHINE_TYPE "i686"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2664: error: C compiler cannot create executables
> See `config.log' for more details.
> 
> 
>  +++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler

2004-05-25 Thread Martin Dickopp
"Edwards, Thomas W." <[EMAIL PROTECTED]> writes:

> I am attempting to install mysql , while compiling I get an error that
> says C Compiler cannot create executables?  Does this error sound
> familiar?
>
> I put the log below, is there another file necessary for this or is it a
> permissions issue.  Thanks.
>>From Config Log:
>
> configure:2619: checking for C compiler default output
> configure:2622: gcc conftest.c  >&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
   ^
> collect2: ld returned 1 exit status

Sounds like libc6-dev is not installed.

(If you encounter an error message like the one I underlined,
you can find out which package contains the file at
).

Martin


-- 
   ,--.Martin Dickopp, Dresden, Germany ,= ,-_-. =.
  / ,- )   http://www.zero-based.org/  ((_/)o o(\_))
  \ `-' `-'(. .)`-'
   `-. Debian, a variant of the GNU operating system.   \_/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler

2004-05-25 Thread s. keeling
Incoming from Mauricio:
> At 15:15 -0500 5/25/04, Edwards, Thomas W. wrote:
> >I am attempting to install mysql , while compiling I get an error that
> >says C Compiler cannot create executables?  Does this error sound
> >familiar?
> >
> >I put the log below, is there another file necessary for this or is it a
> >permissions issue.  Thanks.
> >>From Config Log:
> >
> >configure:2619: checking for C compiler default output
> >configure:2622: gcc conftest.c  >&5
> >/usr/bin/ld: cannot open crt1.o: No such file or directory
> 
>   Could it be that since it could not find this file it went 
> boink?  If so, the next question is where this file lurks.  In this 
> Ultra 1, we have:
> 
> papaya:/> locate crt1.o
> /usr/lib/crt1.o

(0) keeling /home/keeling_ dpkg -S crt1.o
libc6-dev: /usr/lib/gcrt1.o
libc6-dev: /usr/lib/crt1.o
libc6-dev: /usr/lib/Mcrt1.o


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)   http://www.spots.ab.ca/~keeling 
- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C Compiler

2004-05-25 Thread Mauricio
At 15:15 -0500 5/25/04, Edwards, Thomas W. wrote:
I am attempting to install mysql , while compiling I get an error that
says C Compiler cannot create executables?  Does this error sound
familiar?
I put the log below, is there another file necessary for this or is it a
permissions issue.  Thanks.
From Config Log:
configure:2619: checking for C compiler default output
configure:2622: gcc conftest.c  >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
	Could it be that since it could not find this file it went 
boink?  If so, the next question is where this file lurks.  In this 
Ultra 1, we have:

papaya:/> locate crt1.o
/usr/lib/crt1.o
/usr/lib/gcrt1.o
/usr/lib/Mcrt1.o
/usr/lib64/crt1.o
/usr/lib64/gcrt1.o
/usr/lib64/Mcrt1.o
papaya:/>
So, I would be looking if it is in /usr/lib
collect2: ld returned 1 exit status
configure:2625: $? = 1
configure: failed program was:
| #line 2598 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.0.20"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define SYSTEM_TYPE "pc-linuxlibc1"
| #define MACHINE_TYPE "i686"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2664: error: C compiler cannot create executables
See `config.log' for more details.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C compiler logs and history

2004-01-08 Thread Vincent Lefevre
On 2004-01-08 03:13:13 +0100, Florian Ernst wrote:
> How about redirecting the output of your gcc invocation like
> $ gcc ... > stdout.log 2> stderr.log (see man bash -> REDIRECTION)
> or compiling inside a script session (see man script) and using grep
> and friends on the logs thereafter.

Yes, but I was asking for such code (which *must* work transparently
from make, of course, must never break, must be fault-tolerant and so
on). I don't want to rewrite something that may already exist.

FYI, I've currently written some code that colorizes the output of
commands like make (something more generic than makefilter[*], that
can also behave as a tee). But managing logs history in a smart way
would be much more difficult.

[*] http://www.vinc17.org/unix/#makefilter

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web:  - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: C compiler logs and history

2004-01-07 Thread Florian Ernst
Hello Vincent!

On Wed, Jan 07, 2004 at 03:40:30PM +0100, Vincent Lefevre wrote:
Does anyone know if there exists a C compiler (gcc) wrapper (or a
similar tool) that would provide logs and history on warnings? For
instance, I would like to know information such as when a warning
appeared for the first time, when new warnings appeared and things
like that.
How about redirecting the output of your gcc invocation like
$ gcc ... > stdout.log 2> stderr.log (see man bash -> REDIRECTION)
or compiling inside a script session (see man script) and using grep
and friends on the logs thereafter.
But I guess I'm merely stating the obvious...

Cheers,
Flo


signature.asc
Description: Digital signature


Re: C compiler.

2001-01-02 Thread D-Man

When compiling C/C++ code you must tell the compiler exactly which
libraries you are using.  The first step is with the preprocessor to
include the header files.  The second step is with the linker to tell
it where the functions/classes are actually implemented.

If you really want to use gcc instead of g++ for compiling C++ code
make sure you specify the options -Xc++ and -lstdc++ on the command
line.  The g++ wrapper does this for you.

HTH,
-D

On Tue, Jan 02, 2001 at 06:09:56PM -0800, Xucaen wrote:
> huh???  it doesn't mention anything about this in
> the man pages (man gcc)
> why does it do this? I am having similar problems
> with iostream.h
> 



Re: C compiler.

2001-01-02 Thread Ben Collins
On Tue, Jan 02, 2001 at 06:09:56PM -0800, Xucaen wrote:
> huh???  it doesn't mention anything about this in
> the man pages (man gcc)
> why does it do this? I am having similar problems
> with iostream.h

Uh, iostream.h is part of the C++ library. You need to compile C++
programs using the g++ program.

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: C compiler.

2001-01-02 Thread Richard Cobbe
Lo, on Tuesday, January 2, Xucaen did write:

> huh???  it doesn't mention anything about this in
> the man pages (man gcc)

Well, not in *that* man page, anyway.  Normally, the man page for the
library function in question will tell you what libraries you have to link
against; pow(3) unfortunately doesn't.  I think the math library is just
sort of common knowledge, unfortunately.

> I am having similar problems with iostream.h

You shouldn't be.  How are you invoking the compiler, and what identifier
is the linker complaining about?

Also, if you're using iostream.h, you need to use g++ instead of gcc,
otherwise the compiler won't link in the correct libraries.

Richard



Re: C compiler.

2001-01-02 Thread Xucaen
huh???  it doesn't mention anything about this in
the man pages (man gcc)
why does it do this? I am having similar problems
with iostream.h

--- Ben Collins <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 02, 2001 at 11:05:50PM +, paul
> wrote:
> > hello all,
> > i'm trying to compile (gcc filename.c) the
> following program, but it seems
> > math.h isn't being found.
> > 
> > this is the error:
> > /tmp/ccCw1SMR.o: In function `main':
> > /tmp/ccCw1SMR.o(.text+0x52): undefined
> reference to `pow'
> > collect2: ld returned 1 exit status
> 
> You need to link with the Math library (libm)
> aswell.
> 
> gcc filename.c -o prog -lm
> 
> -- 
> 
>
---===-=-==-=---==-=--
> /  Ben Collins  --  ...on that fantastic
> voyage...  --  Debian GNU/Linux   \
> `  [EMAIL PROTECTED]  -- 
> [EMAIL PROTECTED]  --  [EMAIL PROTECTED] 
> '
> 
>
`---=--===-=-=-=-===-==---=--=---'
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble?
> Contact [EMAIL PROTECTED]
> 


__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/



Re: C compiler.

2001-01-02 Thread paul
thanks for all the reply's to my question.

all working now :)

-- 
cheers,
paul



Re: C compiler.

2001-01-02 Thread Moritz Schulte
"paul" <[EMAIL PROTECTED]> writes:

> i'm trying to compile (gcc filename.c) the following program, but it seems
> math.h isn't being found.

The header file math.h is found. But the _function definitions_, which
are part of the libc, are not found:

[...]
> /tmp/ccCw1SMR.o(.text+0x52): undefined reference to `pow'
> collect2: ld returned 1 exit status
[...]

...so, linking fails.  You've to explicitely tell gcc to link against
the math library with the '-lm' switch.

moritz
-- 
Moritz Schulte <[EMAIL PROTECTED]> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199



Re: C compiler.

2001-01-02 Thread Ben Collins
On Tue, Jan 02, 2001 at 11:05:50PM +, paul wrote:
> hello all,
> i'm trying to compile (gcc filename.c) the following program, but it seems
> math.h isn't being found.
> 
> this is the error:
> /tmp/ccCw1SMR.o: In function `main':
> /tmp/ccCw1SMR.o(.text+0x52): undefined reference to `pow'
> collect2: ld returned 1 exit status

You need to link with the Math library (libm) aswell.

gcc filename.c -o prog -lm

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: c++ compiler problem

2000-09-09 Thread Johann Spies
On Sat, Sep 09, 2000 at 12:49:16PM -0400, Chris Gray wrote:
> On Sat, Sep 09, 2000 at 12:58:54PM +0200, Johann Spies wrote:
> > I get the following error when I try to compile a short c++ program:
> > 
> > ---
> > c++ allvehic.cpp -o voertuig
> > cpp: -lang-c++: linker input file unused since linking not done
> > c++: installation problem, cannot exec `cc1plus': No such file or
> > directory

> Somehow your gcc installation has gotten messed up.  Perhaps you
> compiled gcc on your own and installed it in /usr/local/bin?  If so, you
> might want to try 

... 
> to get the default c++ compiler.  If that doesn't help, the only thing I
> could think of is to re-install gcc.

Re-installing gcc and g++ solved the problem.  Thanks.

Johann
-- 
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
 "Submit yourselves therefore to God. Resist the devil, 
  and he will flee from you."James 4:7 



Re: c++ compiler problem

2000-09-09 Thread Chris Gray
On Sat, Sep 09, 2000 at 12:58:54PM +0200, Johann Spies wrote:
> I get the following error when I try to compile a short c++ program:
> 
> ---
> c++ allvehic.cpp -o voertuig
> cpp: -lang-c++: linker input file unused since linking not done
> c++: installation problem, cannot exec `cc1plus': No such file or
> directory
> -
> and the following error when I run configure on wxGTK-sources
> -
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking whether gcc needs -traditional... no
> checking for c++... c++
> checking whether the C++ compiler (c++  ) works... no
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.
> --
> $locate cc1plus:
> --
> /usr/lib/gcc-lib/i386-linux/2.95.2/cc1plus
> /usr/lib/gcc-lib/i486-linux/egcs-2.90.29/cc1plus
> --
> I could compile a kernel not so long ago and do not know what has gone
> wrong.

The kernel is written in C, not C++, so that's irrelevant.

> I hope somebody can help me on this one.

Somehow your gcc installation has gotten messed up.  Perhaps you
compiled gcc on your own and installed it in /usr/local/bin?  If so, you
might want to try 

$ PATH=/usr/bin:$PATH ./configure # or other command which needs g++

to get the default c++ compiler.  If that doesn't help, the only thing I
could think of is to re-install gcc.

Good luck,
Chris



Re: C++ compiler and lyx install

1999-01-12 Thread Richard E. Hawkins Esq.

Ray rote,
> On Mon, Jan 11, 1999 at 23:30:17 -0600, Brent Hueth wrote:
> > I'm (a newbie) trying to do something relatively simple: install lyx on
> > debian. When I try to use configure it complains that it's unable to find
> > a working C++ compiler (that I'm virtually certain exists).

> The C++ compiler is not part of the gcc package, but is in a package of its
> own: g++.

you will also need the xf0\orms88-dev and xpm-dev packages.

Also, you will want the options

  --prefix=/usr/local  (only needed if you've had a debianized lyx.  It 
 defaults to this otherwise--but still a good habit)
  --program-suffix=.pre6 (or whatever).  This prevents overwriting the
 current lyx by giving the executable a separate name, and a 
 separate directory in /usr/local/share

And then, if you have a ~/.lyx, 

cd
ln -s .lyx .lyx.pre6  (or whatever you called it.)  This lets the 
   new version yous your old customizations.

rick

 
-- 



Re: C++ compiler and lyx install

1999-01-12 Thread J.H.M. Dassen
On Mon, Jan 11, 1999 at 23:30:17 -0600, Brent Hueth wrote:
> I'm (a newbie) trying to do something relatively simple: install lyx on
> debian. When I try to use configure it complains that it's unable to find
> a working C++ compiler (that I'm virtually certain exists).

The C++ compiler is not part of the gcc package, but is in a package of its
own: g++.

> checking for a working C++ compiler... configure: error: Unable to find a
> working C++ compiler

If you have g++ installed already, please post the relevant part of the
"config.log" file configure generates.

HTH,
Ray
-- 
Obsig: developing a new sig