v8cgi installtion on ubuntu 9.10

3 views
Skip to first unread message

Sachin

unread,
Jun 29, 2010, 4:46:33 AM6/29/10
to v8cgi
Hi all,

I am trying to install on ubuntu 9.10, installed sudo apt-get install
libmysqlclient15-dev libgd2-xpm-dev apache2-threaded-dev

after this i have checked out v8cgi-0.8.2-src.tar.gz, then i tried
scons library=shared inside v8. this gives following error.

c1plus: warnings being treated as errors src/handles-inl.h: In static
member function 'static void v8::V8::RemoveMessageListeners?(void ()
(v8::Handle<v8::Message>, v8::Handle<v8::Value>))':

anybody has idea ?

Thanks,
Sachin

Kiswono Prayogo

unread,
Jun 29, 2010, 5:00:31 AM6/29/10
to v8...@googlegroups.com
this is my old script for 9.10 64-bit, please modify it as needed,
maybe it could help ^^:

#!/bin/bash
#wget --continue
http://launchpadlibrarian.net/26305244/libicu40_4.0.1-2_amd64.deb
#wget --continue
http://launchpadlibrarian.net/26305246/libicu-dev_4.0.1-2_amd64.deb
#wget --continue
http://launchpadlibrarian.net/30735190/libxerces-c3.0_3.0.1-2_amd64.deb
#wget --continue
http://launchpadlibrarian.net/30735191/libxerces-c-dev_3.0.1-2_amd64.deb
#sudo dpkg -i libicu40_4.0.1-2_amd64.deb
#sudo dpkg -i libicu-dev_4.0.1-2_amd64.deb
#sudo dpkg -i libxerces-c3.0_3.0.1-2_amd64.deb
#sudo dpkg -i libxerces-c-dev_3.0.1-2_amd64.deb
#aptinstall libmysqlclient-dev libpq-dev libsqlite3-dev libfcgi-dev
libgd2-xpm-dev freeglut3-dev libglew1.5-dev
svn checkout http://v8cgi.googlecode.com/svn/trunk/ .
scons reuse_context=0 mysql=1 pgsql=1 sqlite=1 gd=1 dom=1 module=0
verbose=0 gl=1 arch=x64 cgi=1 fcgi=1 gl=1
ifile=/etc/v8cgi.conf
sudo cp v8cgi.conf.posix $ifile
param='s/\/usr\/lib\/v8cgi/\/home\/kyz\/Projects\/site\/l","\/home\/kyz\/Repository\/v8cgi\/lib/g'
sudo sed -i "$param" $ifile
param='s/V8SID/CRSID/g'
sudo sed -i "$param" $ifile
param='s/false;/true;/g'
sudo sed -i "$param" $ifile
param='s/"js", "util", "html", "http"/
"socket","html","http","util","gd","pgsql","process","js"/g'
sudo sed -i "$param" $ifile

> --
> You received this message because you are subscribed to the Google Groups "v8cgi" group.
> To post to this group, send email to v8...@googlegroups.com.
> To unsubscribe from this group, send email to v8cgi+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/v8cgi?hl=en.
>
>

--
Regards,
Kiswono P
GB

Ondřej Žára

unread,
Jun 29, 2010, 11:05:02 AM6/29/10
to v8...@googlegroups.com
Hi Sachin,

this is probably caused by too strict gcc in ubuntu. I suggest either

1) looking at scons -h to see what options are available for V8 compilation,

2) searching through V8 mailing list; someone must surely already encountered this problem before.


Sincerely,
Ondrej Zara



2010/6/29 Sachin <svg...@gmail.com>

Sachin

unread,
Jun 30, 2010, 3:37:26 AM6/30/10
to v8cgi
Hi Ondrej,

Thanks for reply.
scons -h gives options.

mode: compilation mode (debug, release)
default: release
actual: release

As i am new to scons, i tried to see man page of scons, but i havent
got how to set
compilation mode as debug.

if anybody know how to set debug mode, might that will solve.

Thanks,
Sachin
> > v8cgi+un...@googlegroups.com <v8cgi%2Bunsu...@googlegroups.com>.

Ondřej Žára

unread,
Jun 30, 2010, 7:17:19 AM6/30/10
to v8...@googlegroups.com
Hi,

scons options are normally set via name=value pairs, e.g. "scons mode=debug". I am not sure whether this will help, though.

I still encourage you to search/ask the V8 mailing list, as this issue is not caused by v8cgi...


Sincerely,
Ondrej




2010/6/30 Sachin <svg...@gmail.com>
To unsubscribe from this group, send email to v8cgi+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages