i can't build the core PocoSpiderMonkeyd missing

32 views
Skip to first unread message

marius adrian popa

unread,
Nov 17, 2010, 3:04:40 AM11/17/10
to glues...@googlegroups.com
make -f GLUEscript.make config=debug64

/usr/bin/ld.bfd.real: cannot find -lPocoSpiderMonkeyd
/usr/bin/ld.bfd.real: cannot find -lPocoScriptd
/usr/bin/ld.bfd.real: cannot find -lPocoNetd
collect2: ld returned 1 exit status

make -f PocoJavaScript.make config=debug64
==== Building ApacheConnector ====
Creating obj/x64/Debug/ApacheConnector
ApacheApplication.cpp
ApacheRequestHandlerFactory.cpp
ApacheServerRequest.cpp
ApacheConnector.cpp
../../src/Poco/ApacheConnector/ApacheConnector.cpp:21: fatal error:
httpd.h: No such file or directory
compilation terminated.
make[1]: *** [obj/x64/Debug/ApacheConnector/ApacheConnector.o] Error 1
make: *** [ApacheConnector] Error 2


the httpd.h is installed on the system
sudo apt-get install apache2-threaded-dev

Franky Braem

unread,
Nov 17, 2010, 11:49:11 AM11/17/10
to glues...@googlegroups.com
GLUEscript searches for httpd.h in "/usr/local/apache2/include". Do you
see httpd.h in this folder? If not change line 51 in linux.lua.
I also notice you didn't installed PocoNetd. It's also a requirement.

Franky


Op 17/11/2010 9:04, marius adrian popa schreef:

mariuz

unread,
Nov 17, 2010, 2:55:30 PM11/17/10
to GLUEscript


On Nov 17, 6:49 pm, Franky Braem <franky.br...@gmail.com> wrote:
> GLUEscript searches for httpd.h in "/usr/local/apache2/include". Do you
> see httpd.h in this folder? If not change line 51 in linux.lua.
> I also notice you didn't installed PocoNetd. It's also a requirement.

Ok thanks i have installed all the poco debug libs


sudo apt-get install libcurl4-openssl-dev libpocofoundation9-dbg
libpocoutil9-dbg libpocoxml9-dbg libpocozip9-dbg libpocofoundation9-
dbg libpococrypto9-dbg libpoco-dev

and also modified that line 51 in linux.lua to be without local

and all went fine after that

make -f SpiderMonkey.make config=debug64
make -f Script.make config=debug64
make -f GLUEscript.make config=debug64


the first issue running from debug folder

/glue
glue.modules.URI = file:///home/mariuz/Downloads/gluescript-f6c4f8e/bin/Debug/modules/
Cannot load library: /home/mariuz/Downloads/gluescript-f6c4f8e/bin/
Debug/modules/glue_cored.so: cannot open shared object file: No such
file or directory

good news is that it starts :)

Franky Braem

unread,
Nov 17, 2010, 3:07:28 PM11/17/10
to glues...@googlegroups.com
In the bin/Debug folder you'll see all build glues. Move them to the
bin/Debug/modules directory and rename them (remove the lib prefix).

I'll update the search for httpd.h in linux.lua.

Franky

Op 17-11-10 20:55, mariuz schreef:

markc

unread,
Dec 17, 2010, 11:36:32 AM12/17/10
to GLUEscript
Thanks to marius for this posting otherwise I had no idea what to do
after "premake4 gmake".

I found that this order seemed to build a bit cleaner up till the 3rd
step where I got the error below.

make -f Script.make config=debug64
make -f SpiderMonkey.make config=debug64
make -f GLUEscript.make config=debug64

[...]
==== Building Data (debug64) ====
Creating obj/x64/Debug/Data
Namespace.cpp
StatementPrivate.cpp
In file included from ../../src/Data/src/StatementPrivate.cpp:22:0:
../../src/Data/include/GLUE/Data/StatementPrivate.h:33:31: fatal
error: GLUE/Data/Binding.h: No such file or directory
compilation terminated.
make[1]: *** [obj/x64/Debug/Data/StatementPrivate.o] Error 1
make: *** [Data] Error 2

This is with glue_src.0.1.05.tar.gz, poco 1.4.0, gcc 4.5.2 on 64bit
Archlinux.

markc

unread,
Dec 17, 2010, 11:44:49 AM12/17/10
to GLUEscript
FWIW

markc@laptop ~/gluescript/build/gmake ll ../../src/Data/include/GLUE/
Data
total 36
-rw-r--r-- 1 markc users 1155 Dec 18 00:32 Module.h
-rw-r--r-- 1 markc users 1169 Dec 18 00:32 Namespace.h
-rw-r--r-- 1 markc users 1896 Dec 18 00:32 RecordSetClass.h
-rw-r--r-- 1 markc users 1364 Dec 18 00:32 RecordSetPrivate.h
-rw-r--r-- 1 markc users 1888 Dec 18 00:32 SessionClass.h
-rw-r--r-- 1 markc users 1169 Dec 18 00:32 SessionHandle.h
-rw-r--r-- 1 markc users 1222 Dec 18 00:32 SessionPrivate.h
-rw-r--r-- 1 markc users 1491 Dec 18 00:32 StatementClass.h
-rw-r--r-- 1 markc users 1724 Dec 18 00:32 StatementPrivate.h

Franky Braem

unread,
Dec 18, 2010, 12:44:47 PM12/18/10
to glues...@googlegroups.com
Did you try glue 0.1.06? The build proces for Linux is described in the
manual (see the docs download).

Franky

Op 17/12/2010 17:36, markc schreef:

Reply all
Reply to author
Forward
0 new messages