Closed GoogleCodeExporter closed 9 years ago
as little I understand your autogen did not make the right make file...
try
:make clean
:autogen.sh
:./configure
:make
one more time
Original comment by big...@gmail.com
on 7 Aug 2009 at 3:04
[deleted comment]
I did it exactly as you said, but this time i got an other error.
Although it is another one as the one i posted before, im pretty
sure i ran into this one already several times before.
I don't really understand why the code from the original package
compiled immediately and this one keeps complaining. One thing im
wondering about is that the INSTALL states that the modified
makefile.am should be placed in "(PB_SRC_DIR)/src", while im calling
the make, configure etc commands from one directory higher. I already placing
the makefile.am in both "(PB_SRC_DIR)" and "(PB_SRC_DIR)/src" with no
succes but maybe this has to do with it somehow.
anyway, after your suggestions i got this:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/
usr/local/include -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare
-g -DNDEBUG -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo `test -f
'google/protobuf/stubs/common.cc' || echo './'`google/protobuf/stubs/common.cc
../libtool: line 845: X--tag=CXX: command not found
../libtool: line 878: libtool: ignoring unknown tag : command not found
../libtool: line 845: X--mode=compile: command not found
../libtool: line 1012: *** Warning: inferring the mode of operation is deprecate
d.: command not found
../libtool: line 1013: *** Future versions of Libtool will require --mode=MODE b
e specified.: command not found
../libtool: line 1156: Xg++: command not found
../libtool: line 1156: X-DHAVE_CONFIG_H: command not found
../libtool: line 1156: X-I.: command not found
../libtool: line 1156: X-I..: command not found
../libtool: line 1156: X-I/usr/local/include: No such file or directory
../libtool: line 1156: X-Wall: command not found
../libtool: line 1156: X-Wwrite-strings: command not found
../libtool: line 1156: X-Woverloaded-virtual: command not found
../libtool: line 1156: X-Wno-sign-compare: command not found
../libtool: line 1156: X-g: command not found
../libtool: line 1156: X-DNDEBUG: command not found
../libtool: line 1156: X-MT: command not found
../libtool: line 1156: Xcommon.lo: command not found
../libtool: line 1156: X-MD: command not found
../libtool: line 1156: X-MP: command not found
../libtool: line 1156: X-MF: command not found
../libtool: line 1156: X.deps/common.Tpo: No such file or directory
../libtool: line 1156: X-c: command not found
../libtool: line 1208: Xcommon.lo: command not found
../libtool: line 1213: libtool: compile: cannot determine name of library object
from `': command not found
make[2]: *** [common.lo] Error 1
make[2]: Leaving directory `/home/myname/protobuf-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/myname/protobuf-2.1.0'
make: *** [all] Error 2
Original comment by jandevri...@fastmail.fm
on 7 Aug 2009 at 4:31
Finally i got it to work. I don't exactly what i did but i think it is just a
matter
of getting to understand the gnu autotools realy good. Personally i think its a
horrible user-unfriendly system but eventually you will get the job done. I
would
recommend posting a binary for download since my guess is that compiling the
stuff
from source is just a tad to much for most as3 developers.
Original comment by jandevri...@fastmail.fm
on 7 Aug 2009 at 1:51
I forgot to mention it in my previous post, but when i was unsuccessful, i
didn't use
the Makefile.am provided but instead just added the new 22 .cc and .h files
myself in
the Makefile.am from the original protobuf-2.1.0.zip. I still don't know a lot
about
the autobuild process, but some of the problems i encountered earlier might (or
might
not be) caused by an incorrect Makefile.am in protobuf-actionscript3-v2.1.tar.gz
Maybe some pro can use my info to check this problem out..
Original comment by jandevri...@fastmail.fm
on 7 Aug 2009 at 3:29
I'm glad you got it to work in the end, but if you don't add the files provided
(Makefile.am) you can't really say it doesn't work ;)
I'm closing the bug.
Original comment by sorrydevil@gmail.com
on 19 Aug 2009 at 6:24
Original issue reported on code.google.com by
jandevri...@fastmail.fm
on 7 Aug 2009 at 1:48