Building with cygwin make

207 views
Skip to first unread message

Peter Lawrey

unread,
May 6, 2013, 2:24:50 AM5/6/13
to java-serializat...@googlegroups.com
I have cygwin make 3.82 and when I try to make the tpc I get the following errors

plawrey@plawrey-VAIO /cygdrive/c/dev/jvm-serializers/tpc
$ make
# Compile: pregen/media.thrift
pregen\media.thrift\gen-javabean\serializers\thrift\media\Image.java:8: error: package org.apache.commons.lang.builder does not exist
import org.apache.commons.lang.builder.HashCodeBuilder;
                                      ^
pregen\media.thrift\gen-javabean\serializers\thrift\media\Image.java:21: error: package org.slf4j does not exist
import org.slf4j.Logger;
                ^
pregen\media.thrift\gen-javabean\serializers\thrift\media\Image.java:22: error: package org.slf4j does not exist
import org.slf4j.LoggerFactory;
                ^
Is there any special I need to do to make this?

Tatu Saloranta

unread,
May 6, 2013, 2:34:53 PM5/6/13
to java-serializat...@googlegroups.com
There is nothing special you should need to do (as far as I know).
One gotcha earlier was that the active branch was "kannan"; but I think it was recently merged back as "master". So that should not cause problems any more.

I did fix one Java7 compilation issue locally, and for me make build works. But this is on Ubuntu so it is not quite identical.
There were also some other issues with running codecs (I had to disable protostuff/smile due to version problem; and ObSer was referring to a method removed from Unsafe in Java7).

Error itself suggests some problem with classpath for Thrift generator (slf4j jars are included in tpc/lib). I hope someone can suggest a fix for that?

-+ Tatu +-


--
You received this message because you are subscribed to the Google Groups "java-serialization-benchmarking" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-serialization-be...@googlegroups.com.
To post to this group, send email to java-serializat...@googlegroups.com.
Visit this group at http://groups.google.com/group/java-serialization-benchmarking?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Kannan Goundan

unread,
May 6, 2013, 7:58:20 PM5/6/13
to java-serializat...@googlegroups.com
Peter, can you copy/paste the contents of 'build/gen-cp' and 'build/lib-cp'?

There was an issue before related to colon vs semicolon as a classpath separator.

Kannan Goundan

unread,
May 6, 2013, 7:59:43 PM5/6/13
to java-serializat...@googlegroups.com
Also, can you copy/paste the output of the following commands:
- uname -s
- uname -a

Peter Lawrey

unread,
May 7, 2013, 6:04:46 PM5/7/13
to java-serializat...@googlegroups.com
You are right.  I keep getting colon instead of semi-colon.  I have tried editing the files but it reverts to using colons.

I have checked I have

plawrey@plawrey-VAIO /cygdrive/c/dev/jvm-serializers
$ git pull --rebase
Current branch master is up to date.

plawrey@plawrey-VAIO /cygdrive/c/dev/jvm-serializers/tpc
$ uname -s
CYGWIN_NT-6.1-WOW64

plawrey@plawrey-VAIO /cygdrive/c/dev/jvm-serializers/tpc
$ uname -a
CYGWIN_NT-6.1-WOW64 plawrey-VAIO 1.7.18(0.263/5/3) 2013-04-19 10:39 i686 Cygwin

plawrey@plawrey-VAIO /cygdrive/c/dev/jvm-serializers/tpc
$ cat build/*cp*
build/bytecode/gen/media.thrift;build/bytecode/gen/media.proto;build/bytecode/gen/media.protostuff.proto;build/bytecode/gen/media.activemq.proto;build/bytecode/gen/media.tcks;build/bytecode/gen/media.avro
lib/ezmorph-1.0.6.jar;lib/protostuff-api-1.0.1.jar:lib/javassist-3.15.0-GA.jar:lib/scala-library-2.8.0-rc1.jar:lib/commons-codec-1.3.jar:lib/cks-tool.jar:lib/cks-core.jar:lib/json-smart-1.0.8.jar:lib/msgpack-0.6.1.jar:lib/jackson-dataformat-smile-2.1.1.jar:lib/jboss-marshalling-osgi-1.3.15.GA.jar:lib/argo-2.10.jar:lib/slf4j-api-1.5.10.jar:lib/mongo-2.4.jar:lib/jsonpath-2011.06.23.jar:lib/objenesis-1.2.jar:lib/jackson-module-afterburner-2.1.1.jar:lib/trove-1.0.2.jar:lib/obser-0.9.0-SNAPSHOT.jar:lib/jackson-annotations-2.1.1.jar:lib/protobuf-java-2.3.0.jar:lib/xpp3_min-1.1.4c.jar:lib/aalto-gpl-0.9.5.jar:lib/velocity-1.7-dep.jar:lib/svenson-1.4.0.jar:lib/avro-tools-1.7.2.jar:lib/commons-lang-2.4.jar:lib/sbinary-0.3.1-SNAPSHOT.jar:lib/flexjson-2.1.jar:lib/minlog-none-1.2.jar:lib/xstream-1.3.1.jar:lib/fastjson-1.1.19.jar:lib/commons-httpclient-3.1.jar:lib/commons-beanutils-1.8.3.jar:lib/reflectasm-1.05.jar:lib/json_simple-1.1.jar:lib/stax-api-1.0.1.jar:lib/stax2-api-3.0.1.jar:lib/jboss-serialization-1.0.3.GA.jar:lib/libthrift.jar:lib/slf4j-nop-1.5.10.jar:lib/protostuff-collectionschema-1.0.1.jar:lib/kryo-2.16.jar:lib/FastInfoset-1.2.6.jar:lib/asm-commons-3.2.jar:lib/commons-collections-3.2.1.jar:lib/commons-logging-1.1.1.jar:lib/jackson-dataformat-xml-2.1.1.jar:lib/jackson-core-2.1.1.jar:lib/log4j-1.2.8.jar:lib/asm-4.0.jar:lib/paranamer-1.5.jar:lib/jackson-dataformat-avro-2.1.1.jar:lib/woodstox-core-asl-4.0.7.jar:lib/cks-text-reader.jar:lib/protostuff-runtime-1.0.1.jar:lib/cakoose-util.jar:lib/protostuff-json-1.0.1.jar:lib/hessian-4.0.7.jar:lib/wobly-core-1.0.jar:lib/jackson-databind-2.1.1.jar:lib/protostuff-compiler-1.0.1-jarjar.jar:lib/activemq-protobuf-1.1-SNAPSHOT.jar:lib/jackson-all-1.9.6.jar:lib/avro-compiler-1.7.2.jar:lib/gson-2.2.2.jar:lib/bson4jackson-1.3.0.jar:lib/json-0.19-tpc.jar:lib/json-lib-2.4-jdk15.jar:lib/snakeyaml-1.1.jar:lib/javolution-5.5.1.jar:lib/velocity-1.7.jar:lib/protostuff-core-1.0.1.jar:lib/activemq-util-6.0-SNAPSHOT.jar:lib/cks-text-writer.jar:lib/avro-1.7.2.jar:lib/jsonij-0.2.7.jar:lib/protostuff-xml-1.0.1.jar:lib/jopt-simple-3.2.jar:lib/json.org-ref-2011.06.21.jar:lib/jackson-dataformat-yaml-2.1.1.jar
To unsubscribe from this group and stop receiving emails from it, send an email to java-serialization-benchmarking+unsubscribe@googlegroups.com.
To post to this group, send email to java-serialization-benchm...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "java-serialization-benchmarking" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-serialization-benchmarking+unsubscribe@googlegroups.com.
To post to this group, send email to java-serialization-benchm...@googlegroups.com.

Kannan Goundan

unread,
May 7, 2013, 6:34:48 PM5/7/13
to java-serializat...@googlegroups.com
I think I found the bug.  I just pushed a fix to the GitHub repo.  Lemme know if it doesn't work.

To unsubscribe from this group and stop receiving emails from it, send an email to java-serialization-be...@googlegroups.com.
To post to this group, send email to java-serializat...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages