On Tue, Jun 14, 2011 at 7:41 PM, Randall Leeds <[email protected]> wrote: > On Tue, Jun 14, 2011 at 11:29, Filipe David Manana <[email protected]> > wrote: >> Funny thing, this only happens with "iTerm". Using the standard >> Terminal that comes with OS X I don't get the \c from the icu-config >> command. *uckin weird. >> That said, with Terminal I'm able to build trunk successfully. > > Weird indeed. Are you comfortable calling this a bug in iTerm and > leaving the commit alone?
Yes I am. Thanks for looking into it > >> >> On Tue, Jun 14, 2011 at 7:02 PM, Filipe David Manana >> <[email protected]> wrote: >>> Seems to come from the icu-config command itself: >>> >>> $ icu-config --shlib-c >>> /usr/bin/gcc-4.2 -dynamiclib -dynamic -O2 -O2 -Wall -ansi -pedantic >>> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings >>> -Wno-long-long \c >>> >>> $ icu-config --shlib-cc >>> /usr/bin/g++-4.2 -dynamiclib -dynamic -O2 -O2 -W -Wall -ansi >>> -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long \c >>> >>> So, either something that can be added to >>> http://svn.apache.org/viewvc?view=revision&revision=1133287 or revert >>> this? >>> >>> >>> On Tue, Jun 14, 2011 at 6:57 PM, Filipe David Manana >>> <[email protected]> wrote: >>>> On Tue, Jun 14, 2011 at 6:53 PM, Randall Leeds <[email protected]> >>>> wrote: >>>>>> "... -Wwrite-strings -Wno-long-long \c >>>>>> -I/opt/otp14/lib/erlang/usr/include ..." >>>>>> >>>>> >>>>> Based on the settings that I have in my build, I think that's at the >>>>> border of ICU_CFLAGS and ERLANG_FLAGS. >>>>> Can you check src/couchdb/priv/Makefile for both of these variables >>>>> and see if either has the \c? >>>> >>>> Forgot to mention it before. The \c's appear only in the top level >>>> Makefile, generted by configure: >>>> >>>> ICU_BIN = >>>> ICU_CFLAGS = -O2 -O2 -Wall -ansi -pedantic -Wshadow -Wpointer-arith >>>> -Wmissing-prototypes -Wwrite-strings -Wno-long-long \c >>>> ICU_CONFIG = /opt/local/bin/icu-config >>>> ICU_CXXFLAGS = -O2 -O2 -W -Wall -ansi -pedantic -Wpointer-arith >>>> -Wwrite-strings -Wno-long-long \c >>>> ICU_LIBS = -lpthread -lm -L/opt/local/lib -licui18n -licuuc >>>> -licudata -lpthread -lm \c >>>> >>>> Funny, they only appear in the ICU related variables. On Linux these >>>> lines end with 4 spaces instead of a \c >>>> Emacs whitespace-mode doesn't seem to highlight any weird unprintable >>>> characters. >>>> >>>> >>>>> >>>>>> Full command line: >>>>>> >>>>>> /bin/sh ../../../libtool --tag=CC --mode=compile gcc >>>>>> -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy >>>>>> -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -O2 >>>>>> -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes >>>>>> -Wwrite-strings -Wno-long-long \c >>>>>> -I/opt/otp14/lib/erlang/usr/include -MT >>>>>> couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF >>>>>> .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o >>>>>> couch_icu_driver_la-couch_icu_driver.lo `test -f >>>>>> 'icu_driver/couch_icu_driver.c' || echo >>>>>> './'`icu_driver/couch_icu_driver.c >>>>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. >>>>>> -I../../../src/snappy/google-snappy -I/opt/local/include >>>>>> -I/usr/local/include -I/usr/include -O2 -O2 -Wall -ansi -pedantic >>>>>> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings >>>>>> -Wno-long-long \c -I/opt/otp14/lib/erlang/usr/include -MT >>>>>> couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF >>>>>> .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c >>>>>> icu_driver/couch_icu_driver.c -fno-common -DPIC -o >>>>>> .libs/couch_icu_driver_la-couch_icu_driver.o >>>>>> i686-apple-darwin10-gcc-4.2.1: c: No such file or directory >>>>>> >>>>>> The same at friendpaste might be more readble: >>>>>> http://friendpaste.com/3ERusm7juiyJLY0grCBQ97 >>>>>> >>>>>> Any idea about this? >>>>>> >>>>>>> >>>>>>>> >>>>>>>> Agreed. >>>>>>>> >>>>>>>>> On Jun 12, 2011 4:07 PM, "Filipe David Manana" <[email protected]> >>>>>>>>> wrote: >>>>>>>>>> Hi all, >>>>>>>>>> >>>>>>>>>> After all the recent changes in the autotools config, I'm able to >>>>>>>>>> build trunk on Linux, however I'm no longer able to do it on a 32bits >>>>>>>>>> Mac OS X (snow leopard). It seems the include path is not what it >>>>>>>>>> used >>>>>>>>>> to be. The relevant `make`/`make dev` output: >>>>>>>>>> >>>>>>>>>> /bin/sh ../../../libtool --tag=CC --mode=compile gcc >>>>>>>>>> -DHAVE_CONFIG_H -I. -I../../../../src/couchdb/priv -I../../.. >>>>>>>>>> -I../../../src/snappy/google-snappy -O2 -O2 -Wall -ansi -pedantic >>>>>>>>>> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings >>>>>>>>>> -Wno-long-long \c >>>>>>>>>> >>>>>>>>> -I/Users/fdmanana/tmp/couchdb/apache-couchdb-1.2.0a-0d27a97-git/_inst/lib/erlang/usr/include >>>>>>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include >>>>>>>>>> -I/opt/local/lib/erlang/usr/include -MT >>>>>>>>>> couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF >>>>>>>>>> .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o >>>>>>>>>> couch_icu_driver_la-couch_icu_driver.lo `test -f >>>>>>>>>> 'icu_driver/couch_icu_driver.c' || echo >>>>>>>>>> '../../../../src/couchdb/priv/'`icu_driver/couch_icu_driver.c >>>>>>>>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. >>>>>>>>>> -I../../../../src/couchdb/priv -I../../.. >>>>>>>>>> -I../../../src/snappy/google-snappy -O2 -O2 -Wall -ansi -pedantic >>>>>>>>>> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings >>>>>>>>>> -Wno-long-long c >>>>>>>>>> >>>>>>>>> -I/Users/fdmanana/tmp/couchdb/apache-couchdb-1.2.0a-0d27a97-git/_inst/lib/erlang/usr/include >>>>>>>>>> -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include >>>>>>>>>> -I/opt/local/lib/erlang/usr/include -MT >>>>>>>>>> couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF >>>>>>>>>> .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c >>>>>>>>>> ../../../../src/couchdb/priv/icu_driver/couch_icu_driver.c >>>>>>>>>> -fno-common -DPIC -o .libs/couch_icu_driver_la-couch_icu_driver.o >>>>>>>>>> i686-apple-darwin10-gcc-4.2.1: c: No such file or directory >>>>>>>>>> ../../../../src/couchdb/priv/icu_driver/couch_icu_driver.c:27:26: >>>>>>>>>> error: unicode/ucol.h: No such file or directory >>>>>>>>>> ../../../../src/couchdb/priv/icu_driver/couch_icu_driver.c:28:30: >>>>>>>>>> error: unicode/ucasemap.h: No such file or directory >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> With trunk revision 1132947 (and before), on this same machine, >>>>>>>>>> couch_icu_driver compiles just fine. Relevant make output: >>>>>>>>>> >>>>>>>>>> /bin/sh ../../../libtool --tag=CC --mode=compile gcc >>>>>>>>>> -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy >>>>>>>>>> -L/usr/local/lib -L/opt/local/lib -I/opt/otp14/lib/erlang/usr/include >>>>>>>>>> -I/usr/include -I/usr/include/js -I/usr/include/mozjs >>>>>>>>>> -I/usr/local/include -I/opt/local/include -I/usr/local/include/js >>>>>>>>>> -I/opt/local/include/js -DXP_UNIX -I/opt/local/include\c >>>>>>>>>> -L/opt/local/lib\c -g -O2 -MT couch_icu_driver_la-couch_icu_driver.lo >>>>>>>>>> -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o >>>>>>>>>> couch_icu_driver_la-couch_icu_driver.lo `test -f >>>>>>>>>> 'icu_driver/couch_icu_driver.c' || echo >>>>>>>>>> './'`icu_driver/couch_icu_driver.c >>>>>>>>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. >>>>>>>>>> -I../../../src/snappy/google-snappy -L/usr/local/lib -L/opt/local/lib >>>>>>>>>> -I/opt/otp14/lib/erlang/usr/include -I/usr/include -I/usr/include/js >>>>>>>>>> -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include >>>>>>>>>> -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX >>>>>>>>>> -I/opt/local/includec -L/opt/local/libc -g -O2 -MT >>>>>>>>>> couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF >>>>>>>>>> .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c >>>>>>>>>> icu_driver/couch_icu_driver.c -fno-common -DPIC -o >>>>>>>>>> .libs/couch_icu_driver_la-couch_icu_driver.o >>>>>>>>>> mv -f .deps/couch_icu_driver_la-couch_icu_driver.Tpo >>>>>>>>>> .deps/couch_icu_driver_la-couch_icu_driver.Plo >>>>>>>>>> /bin/sh ../../../libtool --tag=CC --mode=link gcc >>>>>>>>>> -I/opt/local/include\c -L/opt/local/lib\c -g -O2 -module >>>>>>>>>> -avoid-version -I/opt/local/include\c -L/opt/local/lib\c >>>>>>>>>> -L/usr/local/lib -L/opt/local/lib -I/opt/otp14/lib/erlang/usr/include >>>>>>>>>> -I/usr/include -I/usr/include/js -I/usr/include/mozjs >>>>>>>>>> -I/usr/local/include -I/opt/local/include -I/usr/local/include/js >>>>>>>>>> -I/opt/local/include/js -DXP_UNIX -lm -o couch_icu_driver.la -rpath >>>>>>>>>> /opt/couchdb/lib/couchdb/erlang/lib/couch-1.2.0a-99a4982-git/priv/lib >>>>>>>>>> couch_icu_driver_la-couch_icu_driver.lo -licuuc -licudata -licui18n >>>>>>>>>> -L/usr/local/lib -L/opt/local/lib >>>>>>>>>> libtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o >>>>>>>>>> .libs/couch_icu_driver.so -bundle >>>>>>>>>> .libs/couch_icu_driver_la-couch_icu_driver.o -L/opt/local/libc >>>>>>>>>> -L/usr/local/lib -L/opt/local/lib -lm -licuuc -licudata -licui18n >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Does anyone else has this issue as well? This is happening to me even >>>>>>>>>> with a fresh git checkout. Or does one needs to specify some >>>>>>>>>> parameters to configure, etc? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Filipe David Manana, >>>>>>>>>> [email protected], [email protected] >>>>>>>>>> >>>>>>>>>> "Reasonable men adapt themselves to the world. >>>>>>>>>> Unreasonable men adapt the world to themselves. >>>>>>>>>> That's why all progress depends on unreasonable men." >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Filipe David Manana, >>>>>>>> [email protected], [email protected] >>>>>>>> >>>>>>>> "Reasonable men adapt themselves to the world. >>>>>>>> Unreasonable men adapt the world to themselves. >>>>>>>> That's why all progress depends on unreasonable men." >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Filipe David Manana, >>>>>> [email protected], [email protected] >>>>>> >>>>>> "Reasonable men adapt themselves to the world. >>>>>> Unreasonable men adapt the world to themselves. >>>>>> That's why all progress depends on unreasonable men." >>>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Filipe David Manana, >>>> [email protected], [email protected] >>>> >>>> "Reasonable men adapt themselves to the world. >>>> Unreasonable men adapt the world to themselves. >>>> That's why all progress depends on unreasonable men." >>>> >>> >>> >>> >>> -- >>> Filipe David Manana, >>> [email protected], [email protected] >>> >>> "Reasonable men adapt themselves to the world. >>> Unreasonable men adapt the world to themselves. >>> That's why all progress depends on unreasonable men." >>> >> >> >> >> -- >> Filipe David Manana, >> [email protected], [email protected] >> >> "Reasonable men adapt themselves to the world. >> Unreasonable men adapt the world to themselves. >> That's why all progress depends on unreasonable men." >> > -- Filipe David Manana, [email protected], [email protected] "Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men."
