mschwartz / SilkJS

V8 Based JavaScript Swiss Army Knife (and HTTP Server!)
https://github.com/decafjs/decaf
Other
323 stars 37 forks source link

Linux compilation issue #28

Open jlerouge opened 11 years ago

jlerouge commented 11 years ago

I had some issues while compiling SilkJS, under Linux Mint 12 x64 (Ubuntu based distribution). It was complaining about :

I made some slight changes to src/Makefile and it worked :

silkjs: deps $(V8DIR) $(V8) $(CORE) $(OBJ) SilkJS.h Makefile g++ -o silkjs $(CORE) $(OBJ) $(V8LIBS) -lmysqlclient -lmm -lgd -lncurses -lssl -lpthread -lsqlite3 -lcurl -lssh2 -lmemcached -lcairo -lexpat -ldl -Wl,-rpath=/usr/local/silkjs/src/v8,-rpath=$(V8LIB_DIR)

(changed "gcc" to "g++", and added -lexpat and -ldl linking)

mschwartz commented 11 years ago

Any chance you can make a Makefile.mint, detect Mint is the OS in the top level Makefile and invoke the new Makefile?

If you fork the repo and issue a pull request, I'll add it to the repository.