Re: [gentoo-user] mysql build error

2007-02-28 Thread Bo Ørsted Andresen
On Wednesday 28 February 2007 07:19:10 Uwe Thiem wrote:
  Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps
  in your env?
 
  # grep CXXFLAGS /etc/make.conf
  # env | grep CXXFLAGS

 [EMAIL PROTECTED] ~ $ grep CXX /etc/make.conf
 CXXFLAGS=-O3 -march=pentium4 -fomit-frame-pointer -pipe

 [EMAIL PROTECTED] ~ $ env | grep CXX
 CXXFLAGS=-O3 -march=pentium4 -mcpu=pentium4

 So where does the dash get lost? Weird.

So it is set in your env. To something different than in your make.conf. While 
this still doesn't explain how it got set to O3 it does seem to suggest that 
somehow you're polluting your env... I suggest you figure out where it gets 
set or make sure that it doesn't anymore.

You've pasted an emerge --info where it was set to O3 which matches the error 
message in config.log. So once you've figured out to have emerge --info 
report something sensible you should be able to emerge it...

-- 
Bo Andresen


pgpBm7P1xzqw8.pgp
Description: PGP signature


Re: [gentoo-user] mysql build error

2007-02-28 Thread Uwe Thiem
On 28 February 2007, Bo Ørsted Andresen wrote:
 On Wednesday 28 February 2007 07:19:10 Uwe Thiem wrote:
   Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps
   in your env?
  
   # grep CXXFLAGS /etc/make.conf
   # env | grep CXXFLAGS
 
  [EMAIL PROTECTED] ~ $ grep CXX /etc/make.conf
  CXXFLAGS=-O3 -march=pentium4 -fomit-frame-pointer -pipe
 
  [EMAIL PROTECTED] ~ $ env | grep CXX
  CXXFLAGS=-O3 -march=pentium4 -mcpu=pentium4
 
  So where does the dash get lost? Weird.

 So it is set in your env. To something different than in your make.conf.
 While this still doesn't explain how it got set to O3 it does seem to
 suggest that somehow you're polluting your env... I suggest you figure out
 where it gets set or make sure that it doesn't anymore.

 You've pasted an emerge --info where it was set to O3 which matches the
 error message in config.log. So once you've figured out to have emerge
 --info report something sensible you should be able to emerge it...

I now did it as root which has no CXXFLAGS settings:

uwix ~ # env | grep CXX
uwix ~ #   

emerge --info is still the same.

Unfortunately, there is still an error:

make[3]: Entering directory 
`/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb/build_unix'
/bin/sh ./libtool --mode=compile 
i686-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. 
-I../../././bdb/dist/../dbinc  -D_GNU_SOURCE -D_REENTRANT  -DDBUG_OFF -O3 
-march=pentium4 -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1   
../../././bdb/dist/../mutex/mut_pthread.c
./libtool: line 323: s,^.*/,,g: No such file or directory
./libtool: line 730: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1041: -e: command not found
./libtool: line 1069: -e: command not found
./libtool: line 1093: -e: command not found
: compile: cannot determine name of library object from `'
make[3]: *** [mut_pthread.o] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb/build_unix'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql'
make: *** [all] Error 2

This suggests some issue with libtool.

No error in config.log.

Uwe


-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql build error

2007-02-28 Thread nbensa
 On 28 February 2007, Bo Ørsted Andresen wrote:
 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1
 ../../././bdb/dist/../mutex/mut_pthread.c
 ./libtool: line 323: s,^.*/,,g: No such file or directory
 ./libtool: line 730: -e: command not found

Run:

SED=sed emerge mysql



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql build error

2007-02-28 Thread Uwe Thiem
On 28 February 2007, [EMAIL PROTECTED] wrote:
  On 28 February 2007, Bo Ørsted Andresen wrote:
  -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1
  ../../././bdb/dist/../mutex/mut_pthread.c
  ./libtool: line 323: s,^.*/,,g: No such file or directory
  ./libtool: line 730: -e: command not found

 Run:

 SED=sed emerge mysql

Yaho! My mysql is back! Thanks a lot, you saved my day. I owe you. A beer, 
5 beer, 10 beers. Insert any arbitrary number, as long as you can drink it 
during one day. ;-)

Now I have got two questions.

First, if configure wants to use the variable SED, shouldn't it set it itself? 
I mean it can't rely on being part of the environment. I actually looked 
through /etc/env.d and stuff. Nothing tries to set it.

Second, why didn't I see others complaining about it? I am really curious 
here.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql build error

2007-02-28 Thread nbensa
 Second, why didn't I see others complaining about it? I am really curious
 here.

It's a problem with libtool-1.5.23b, so if nobody else is running it, or
have not emerged glib-1.2.10-r5 or mysql, they won't see the problem :)

Regards,
Norberto



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql build error

2007-02-28 Thread Bo Ørsted Andresen
On Wednesday 28 February 2007 23:47:58 Boyd Stephen Smith Jr. wrote:
 On Wednesday 28 February 2007, [EMAIL PROTECTED] wrote about 'Re:

 [gentoo-user] mysql build error':
   Second, why didn't I see others complaining about it? I am really
   curious here.
 
  It's a problem with libtool-1.5.23b,

 Ah, I masked that package because it didn't pass it's own test suite.  I'm
 glad I did.

So did I at first. Then I filed a bug about it. Then I found out it was the 
mess eselect-compiler left behind that was still haunting me... ;) Triggered 
when I upgraded from gcc-4.1.1* to gcc-4.1.2. After cleaning that mess it 
does pass it's test suite here. Admittedly I haven't tried to install 
mysql... The issue is reported in bug #167758.

-- 
Bo Andresen


pgpe1caItPp4U.pgp
Description: PGP signature


Re: [gentoo-user] mysql build error

2007-02-27 Thread Bo Ørsted Andresen
On Tuesday 27 February 2007 08:51:58 Uwe Thiem wrote:
  can't seem to build any version of mysql. Here is the error:

 checking HIST_ENTRY is declared in readline/readline.h...
 configure: error: Could not find system readline or libedit libraries
           Use --with-readline or --with-libedit to use the bundled
           versions of libedit or readline

 Readline is installed. If I add readline or libedit to my USE flags for
 mysql those options aren't passed on to configure, and I end up with
 exactly the same error.

 Same for earlier versions of mysql.

 I did have a look at the bugs and forums but couldn't find anything like
 this. So if nobody runs into the same problem I must assume something is
 wrong with my system.

 But what? Any ideas?

I guess you didn't look at closed bugs then...

https://bugs.gentoo.org/show_bug.cgi?id=143298

If your problem is different then I suggest you post your config.log. And 
perhaps even emerge --info.

-- 
Bo Andresen


pgpzb7he0xwvj.pgp
Description: PGP signature


Re: [gentoo-user] mysql build error

2007-02-27 Thread Daniel Iliev
Uwe Thiem wrote:
 Hi folks,

 I can't seem to build any version of mysql. Here is the error:

 checking HIST_ENTRY is declared in readline/readline.h...
 configure: error: Could not find system readline or libedit libraries
   Use --with-readline or --with-libedit to use the bundled
   versions of libedit or readline

 Readline is installed. If I add readline or libedit to my USE flags for 
 mysql those options aren't passed on to configure, and I end up with exactly 
 the same error.

 Same for earlier versions of mysql.

 I did have a look at the bugs and forums but couldn't find anything like 
 this. 
 So if nobody runs into the same problem I must assume something is wrong with 
 my system.

 But what? Any ideas?

 Uwe

   

Did you try emerge --newuse mysql after adding readline to your USE
flags?

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql build error

2007-02-27 Thread Uwe Thiem
On 27 February 2007, Bo Ørsted Andresen wrote:
 On Tuesday 27 February 2007 08:51:58 Uwe Thiem wrote:
   can't seem to build any version of mysql. Here is the error:
 
  checking HIST_ENTRY is declared in readline/readline.h...
  configure: error: Could not find system readline or libedit libraries
            Use --with-readline or --with-libedit to use the bundled
            versions of libedit or readline
 
  Readline is installed. If I add readline or libedit to my USE flags
  for mysql those options aren't passed on to configure, and I end up with
  exactly the same error.
 
  Same for earlier versions of mysql.
 
  I did have a look at the bugs and forums but couldn't find anything like
  this. So if nobody runs into the same problem I must assume something is
  wrong with my system.
 
  But what? Any ideas?

 I guess you didn't look at closed bugs then...

 https://bugs.gentoo.org/show_bug.cgi?id=143298

 If your problem is different then I suggest you post your config.log. And
 perhaps even emerge --info.

indeed, my problem is different. It has been a long time since I last made a 
mistake such as the described one without noticing it. ;-)

config.log is rather long. So instead of posting it here I uploaded it. You 
can get it here:
http://www.SysEx.com.na/config.log.gz

uwix uwe # emerge --info
Portage 2.1.2-r11 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 
2.6.18-gentoo-r1 i686)
=
System uname: 2.6.18-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 27 Feb 2007 07:00:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python: 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS=x86 ~x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O3 -march=pentium4 -mcpu=pentium4
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/NX/etc /usr/NX/home /usr/kde/3.2/share/config 
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown 
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown 
/usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown 
/usr/share/X11/xkb /usr/share/config /var/bind
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf 
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo 
/etc/texmf/web2c
CXXFLAGS=O3
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://212.219.56.146/sites/www.ibiblio.org/gentoo/ 
http://212.219.56.162/sites/www.ibiblio.org/gentoo/;
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages 
--filter=H_**/files/digest-*
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X aac aalib alsa apache2 apm arts asf berkdb bitmap-fonts cdr cli 
cracklib crypt cups doc dri dts dvd dvdread eds emboss encode esd ffmpeg flac 
foomaticdb fortran gdbm gif gpm gstreamer gtk2 hal iconv imlib ipv6 isdnlog 
jpeg kde libg++ libwww mad midi mikmod mmx mmx2 motif mp3 mpeg mplayer 
ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt3 
quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd 
truetype truetype-fonts type1-fonts vorbis win32codecs x264 x86 xml xorg xv 
zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci 
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate 
route share shm softvol ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev 
KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=apm ark ati chips cirrus 
cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 
s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga 
via vmware voodoo
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, 
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS


Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql build error

2007-02-27 Thread Bo Ørsted Andresen
On Tuesday 27 February 2007 18:21:26 Uwe Thiem wrote:
  I guess you didn't look at closed bugs then...
 
  https://bugs.gentoo.org/show_bug.cgi?id=143298
 
  If your problem is different then I suggest you post your config.log. And
  perhaps even emerge --info.

 indeed, my problem is different. It has been a long time since I last made
 a mistake such as the described one without noticing it. ;-)
[SNIP]
 CXXFLAGS=O3

And yet you did... ;)

-- 
Bo Andresen


pgpwMPmCiHXlc.pgp
Description: PGP signature


Re: [gentoo-user] mysql build error

2007-02-27 Thread Uwe Thiem
On 27 February 2007, Bo Ørsted Andresen wrote:
 On Tuesday 27 February 2007 18:21:26 Uwe Thiem wrote:
   I guess you didn't look at closed bugs then...
  
   https://bugs.gentoo.org/show_bug.cgi?id=143298
  
   If your problem is different then I suggest you post your config.log.
   And perhaps even emerge --info.
 
  indeed, my problem is different. It has been a long time since I last
  made a mistake such as the described one without noticing it. ;-)

 [SNIP]

  CXXFLAGS=O3

 And yet you did... ;)

Hm... That never was a problem with mysql before. Not even with versions that 
do not compile anymore but did in the past.

Here are the relevant lines in make.conf:
CFLAGS=-O3 -march=pentium4 -fomit-frame-pointer -pipe
CXXFLAGS=${CFLAGS}

That should not cause the dash to be omitted. Anyway, I will give it a try 
after copying CFLAGS over to CXXFLAGS verbatim.

Will let you know about the outcome.

Or are you referring to -O3 in itself? Same applies here. Never caused a 
problem with mysql. See above.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql build error

2007-02-27 Thread Bo Ørsted Andresen
On Tuesday 27 February 2007 19:41:37 Uwe Thiem wrote:
   CXXFLAGS=O3
 
  And yet you did... ;)

 Hm... That never was a problem with mysql before. Not even with versions
 that do not compile anymore but did in the past.

 Here are the relevant lines in make.conf:
 CFLAGS=-O3 -march=pentium4 -fomit-frame-pointer -pipe
 CXXFLAGS=${CFLAGS}

 That should not cause the dash to be omitted. Anyway, I will give it a try
 after copying CFLAGS over to CXXFLAGS verbatim.

 Will let you know about the outcome.

Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps in 
your env?

# grep CXXFLAGS /etc/make.conf
# env | grep CXXFLAGS

 Or are you referring to -O3 in itself? Same applies here. Never caused a
 problem with mysql. See above.

No, I was referring to the missing dash. From your config.log:

configure:40088: i686-pc-linux-gnu-g++ -c  -DDBUG_OFF 
O3 -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing 
-felide-constructors -fno-rtti -fno-implicit-templates   
-fno-implicit-templates -fno-exceptions -fno-rtti  
conftest.cpp 5
i686-pc-linux-gnu-g++: O3: No such file or directory

-- 
Bo Andresen


pgpM1512rsjH0.pgp
Description: PGP signature


Re: [gentoo-user] mysql build error

2007-02-27 Thread Uwe Thiem
On 27 February 2007, Bo Ørsted Andresen wrote:
 On Tuesday 27 February 2007 19:41:37 Uwe Thiem wrote:
CXXFLAGS=O3
  
   And yet you did... ;)
 
  Hm... That never was a problem with mysql before. Not even with versions
  that do not compile anymore but did in the past.
 
  Here are the relevant lines in make.conf:
  CFLAGS=-O3 -march=pentium4 -fomit-frame-pointer -pipe
  CXXFLAGS=${CFLAGS}
 
  That should not cause the dash to be omitted. Anyway, I will give it a
  try after copying CFLAGS over to CXXFLAGS verbatim.
 
  Will let you know about the outcome.

Alright, that yielded the very same outcome.


 Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps in
 your env?

 # grep CXXFLAGS /etc/make.conf
 # env | grep CXXFLAGS

[EMAIL PROTECTED] ~ $ grep CXX /etc/make.conf
CXXFLAGS=-O3 -march=pentium4 -fomit-frame-pointer -pipe

[EMAIL PROTECTED] ~ $ env | grep CXX
CXXFLAGS=-O3 -march=pentium4 -mcpu=pentium4

So where does the dash get lost? Weird.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
--
gentoo-user@gentoo.org mailing list