Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
C++ and Textproc/Groff
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
pikpik  
View profile  
 More options Aug 20 2011, 11:30 am
From: pikpik <pikpik.1...@gmail.com>
Date: Sat, 20 Aug 2011 08:30:46 -0700 (PDT)
Local: Sat, Aug 20 2011 11:30 am
Subject: C++ and Textproc/Groff
Hi,

I was trying to build "editors/nano" in pkgsrc, but my build failed on
the following messages:

[...]

checking that C++ compiler can compile simple programs... yes
checking that C++ static constructors and destructors are called... no
configure: error: a working C++ compiler is required
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/groff

[...]

So, it seems C++ support exists, but is partial with G++. Here's the
most related instance of this I found elsewhere, for NetBSD in this
case: http://mail-index.netbsd.org/port-alpha/2002/11/27/0001.html
From that, it seems the trouble could be with "crtbegin.o,"
"crtend.o," and similar files.

From that NetBSD message, a possibility was that libtool needed to be
rebuilt with newer libraries. Unfortunately, rebuilding and installing
it doesn't seem to help.

Thank you,
pikpik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
r0ller  
View profile  
 More options Aug 23 2011, 4:35 am
From: r0ller <r0l...@freemail.hu>
Date: Tue, 23 Aug 2011 01:35:31 -0700 (PDT)
Local: Tues, Aug 23 2011 4:35 am
Subject: Re: C++ and Textproc/Groff
Hi,

It might not be related but I also get the same when trying to run
configure ddd (see below).

Regards,
r0ller

./configure -host=i386-elf -target=i386-elf -disable-shared

loading cache ./config.cache
checking host system type... i386-pc-elf
checking target system type... i386-pc-elf
checking build system type... i386-pc-elf
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether make sets ${MAKE}... (cached) yes
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 for POSIXized ISC... no
checking whether the C compiler (gcc) compiles and links a simple C
program... yes
checking for c++... g++
checking whether the C++ compiler (g++  ) works... yes
checking whether the C++ compiler (g++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking whether the C++ compiler (g++) compiles a simple program...
no
configure: error: You must set the environment variable CXX to a
working
                  C++ compiler. Also check the CXXFLAGS settings.
                  See the file 'config.log' for further diagnostics.

On Aug 20, 5:30 pm, pikpik <pikpik.1...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Cort  
View profile  
 More options Aug 23 2011, 6:11 am
From: Thomas Cort <linuxg...@gmail.com>
Date: Tue, 23 Aug 2011 03:11:32 -0700 (PDT)
Local: Tues, Aug 23 2011 6:11 am
Subject: Re: C++ and Textproc/Groff
Which version of gcc are you running? Can you try the latest
(gcc-4.4.5)?
ftp://ftp.minix3.org/pub/minix/packages/3.2.0/i386/All/gcc44-4.4.5nb3...

On Aug 23, 4:35 am, r0ller <r0l...@freemail.hu> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
r0ller  
View profile  
 More options Aug 23 2011, 7:18 am
From: r0ller <r0l...@freemail.hu>
Date: Tue, 23 Aug 2011 04:18:35 -0700 (PDT)
Local: Tues, Aug 23 2011 7:18 am
Subject: Re: C++ and Textproc/Groff
Hi Thomas,

I've just tried it with gcc-4.4.5 and I get the same:(

Regards,
r0ller

On Aug 23, 12:11 pm, Thomas Cort <linuxg...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Cort  
View profile  
 More options Aug 23 2011, 4:54 pm
From: Thomas Cort <linuxg...@gmail.com>
Date: Tue, 23 Aug 2011 13:54:15 -0700 (PDT)
Local: Tues, Aug 23 2011 4:54 pm
Subject: Re: C++ and Textproc/Groff
Did you run "make gnu-includes" and "make elf-libraries" in /usr/src?
And are you running the latest base system, 3.2.0? Can you send the
config.log file from ddd?

-Thomas

On Aug 23, 7:18 am, r0ller <r0l...@freemail.hu> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
r0ller  
View profile  
 More options Aug 24 2011, 4:55 am
From: r0ller <r0l...@freemail.hu>
Date: Wed, 24 Aug 2011 01:55:07 -0700 (PDT)
Local: Wed, Aug 24 2011 4:55 am
Subject: Re: C++ and Textproc/Groff
Hi Thomas,

Yes, I did run make gnu-includes elf-libraries in /usr/src and the
system I'm using is 3.2.0 (the one which can be downloaded from the
minix3 page). So I'm not tracking current. Please, find the config.log
below.

Regards,
r0ller

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:620: checking host system type
configure:641: checking target system type
configure:659: checking build system type
configure:693: checking for a BSD compatible install
configure:746: checking whether build environment is sane
configure:803: checking whether make sets ${MAKE}
configure:843: checking for working aclocal
configure:856: checking for working autoconf
configure:869: checking for working automake
configure:882: checking for working autoheader
configure:895: checking for working makeinfo
configure:909: checking whether make sets ${MAKE}
configure:938: checking for gcc
configure:1051: checking whether the C compiler (gcc  ) works
configure:1067: gcc -o conftest    conftest.c  1>&5
configure:1093: checking whether the C compiler (gcc  ) is a cross-
compiler
configure:1098: checking whether we are using GNU C
configure:1107: gcc -E conftest.c
configure:1126: checking whether gcc accepts -g
configure:1158: checking for POSIXized ISC
configure:1182: checking whether the C compiler (gcc) compiles and
links a simple C program
configure:1203: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1235: checking for c++
configure:1267: checking whether the C++ compiler (g++  ) works
configure:1283: g++ -o conftest    conftest.C  1>&5
configure:1309: checking whether the C++ compiler (g++  ) is a cross-
compiler
configure:1314: checking whether we are using GNU C++
configure:1323: g++ -E conftest.C
configure:1342: checking whether g++ accepts -g
configure:1530: checking whether the C++ compiler (g++) compiles a
simple program
configure:1551: g++ -o conftest -g -O2   conftest.C  1>&5
configure:1545:22: error: iostream.h: no such file or directory
configure: In function 'int main()':
configure:1547: error: 'cout' was not declared in this scope
configure: failed program was:
#line 1544 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
cout << "hello, world!";
; return 0; }

On Aug 23, 10:54 pm, Thomas Cort <linuxg...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Cort  
View profile  
 More options Aug 24 2011, 8:13 am
From: Thomas Cort <linuxg...@gmail.com>
Date: Wed, 24 Aug 2011 05:13:01 -0700 (PDT)
Local: Wed, Aug 24 2011 8:13 am
Subject: Re: C++ and Textproc/Groff
Hi,

> [config.log]
> error: iostream.h: no such file or directory

It seems that the issue is with the configure script and not Minix's C+
+ compiler. iostream.h is a pre-ISO standard C++ header. As of
gcc-4.3, it was removed ( See http://gcc.gnu.org/gcc-4.3/porting_to.html
). My suggestion is to regenerate the configure script with autoconf
to get a more up to date C++ feature check.

-Thomas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
r0ller  
View profile  
 More options Aug 30 2011, 4:15 am
From: r0ller <r0l...@freemail.hu>
Date: Tue, 30 Aug 2011 01:15:32 -0700 (PDT)
Local: Tues, Aug 30 2011 4:15 am
Subject: Re: C++ and Textproc/Groff
Hi Thomas,

I gave a try to a newer version (mainly because autoreconf also
failed) hoping that the configure script may be different. Actually,
configuring version 3.3.9 goes far beyond than version 3.2.1. However,
it also fails but now with a complaint to libX11.a -even though I
specified the X includes and X libraries explicitly:

#./configure --disable-shared --x-includes=/usr/pkg/X11R6/include/ --x-
libraries=/usr/pkg/X11R6/lib/

I just copy the end of the configure output here -if it's necessary
later I can paste the whole stuff:)

[...]
checking for XOpenDisplay in -lX11... no
configure: error: The X11 library '-lX11' could not be found.
                  Please use the configure options '--x-includes=DIR'
                  and '--x-libraries=DIR' to specify the X location.
                  See the files 'config.log' and 'ddd/config.log'
                  for further diagnostics.

Any idea why it can't find that lib?

Regards,
r0ller

On Aug 24, 2:13 pm, Thomas Cort <linuxg...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Murray  
View profile  
 More options Aug 30 2011, 4:31 am
From: Murray <muzzd...@hotmail.com>
Date: Tue, 30 Aug 2011 01:31:06 -0700 (PDT)
Local: Tues, Aug 30 2011 4:31 am
Subject: Re: C++ and Textproc/Groff
See this thread http://groups.google.com/group/minix3/browse_thread/thread/c3bd1092af...

On Aug 30, 8:15 pm, r0ller <r0l...@freemail.hu> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »