joyent / libuv

Go to
https://github.com/libuv/libuv
3.27k stars 653 forks source link

fail to build on linux, #1579

Closed zhaozg closed 9 years ago

zhaozg commented 10 years ago

Why I got

.ibtoolize: AC_CONFIG_MACRO_DIR([m4]) conflicts with ACLOCAL_AMFLAGS=-I m4

if I change Makefile.am, replace '"-I m4"' with '-I m4' will pass.

[root@gateway libuv]# uname -a
Linux gateway 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@gateway libuv]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) 
[root@gateway libuv]# ./autogen.sh 
+ libtoolize
.ibtoolize: AC_CONFIG_MACRO_DIR([m4]) conflicts with ACLOCAL_AMFLAGS=-I m4
saghul commented 10 years ago

IURC, the oldest GCC we support is 4.6.

zhaozg commented 10 years ago

But I modify makefile.ac,and pass build and check maybe others error

saghul commented 10 years ago

Disregard what I said earlier, we support 4.2 which old OSX has. Anyway, if that's all it takes please send a Pull Request :-)

saghul commented 9 years ago

Closing, feel free to open a PR at libuv/libuv with the fix you proposed.