RE: How to 'unbreak' re2c port?

2009-04-04 Thread Mark
Anyone? Anyone? Bueller? Bueller?


-Original Message-
From: Mark [mailto:ad...@asarian-host.net] 
Sent: donderdag 2 april 2009 14:27
To: freebsd-questions@freebsd.org
Subject: How to 'unbreak' re2c port?

Okay, I just upgraded to gcc44 in order to fix what I thought was a
compilation issue with re2c plus a gcc 2.95 compiler. However, gcc44
*still* trips over it! Same deal (see below). So, has ANYONE been able to
compile this port at all?

Thanks.

- Mark


 

==  Building for re2c-0.13.5

make  all-am

source='code.cc' object='code.o' libtool=no  DEPDIR=.deps depmode=gcc

/bin/sh .../depcomp  c++ -DHAVE_CONFIG_H -I.  -O -pipe -c -o code.o

code.cc

In file included from globals.h:9,

 from code.cc:11:

stream_lc.h:18: syntax error before `'

stream_lc.h:29: syntax error before `;'

stream_lc.h:31: syntax error before `'

stream_lc.h:42: destructors must be member functions

stream_lc.h:42: virtual outside class declaration

stream_lc.h: In function `void basic_null_stream()':

stream_lc.h:42: confused by earlier errors, bailing out

cpp0: output pipe has been closed

*** Error code 1

 

Stop in /usr/ports/devel/re2c/work/re2c-0.13.5.

*** Error code 1

 

Stop in /usr/ports/devel/re2c/work/re2c-0.13.5.

*** Error code 1

 

Stop in /usr/ports/devel/re2c.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to 'unbreak' re2c port?

2009-04-04 Thread Vasadi I. Claudiu Florin
Maybe you will be dissapointed in this but I was able to build and install  
the port with no errors

FreeBSD-7.1-STABLE
gcc 4.2.1 20070719
Intel p4 2.66 GHz
asus p4p800-x
1gb DDR1
1 WD 120 SATA2
1 x Samsung SP80GB



this is my make.conf:
# PERL
PERL_VER=5.8.8
PERL_VERSION=5.8.8

# No Sendmail (use Postfix)
sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO

# Compile options
CFLAGS= -O2 -pipe

# Compare before install
INSTALL= install -c

# Do NOT build these kernel modules (ever)
WITHOUT_MODULES=
# added by use.perl 2009-03-05 01:56:36
PERL_VER=5.8.9
PERL_VERSION=5.8.9

what's your make.conf ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org