Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Ye Xu
thx all the guys here answering me questions.

the problem had been solved.

greets

Ye
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Gustavo Noronha Silva
On Tue, 2008-07-08 at 16:39 +0200, Benjamin Meyer wrote:
> > get into the arora building path
> > "ldd arora" give back the following output, it seems that it still use the
> > system libs, so how can I solve the problem? maybe manuelly replace that
> > /usr/lib/libqtwebkit.so.4 with the trunk compiled version?
> >
> > [EMAIL PROTECTED]:~/build/arora$ ldd arora
> >
> > > linux-vdso.so.1 =>  (0x7fff133fe000)
> > > *libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x7f460a4c7000)*
> 
> Looks like it is still using the old Makefile.  Run 'make distclean' and then 
> qmake (qmake-qt4 on Debian) and then make.  You shouldn't need to replace the 
> system libraries.

The problem here is actually that ldd is looking for the library
in /usr/lib first, and since it finds it there, it uses it (as does
arora). Linking with a library in a different directory doesn't mean
that the system search path for libraries will be ignored at runtime. 

You still need to use LD_LIBRARY_PATH or LD_PRELOAD (as suggested by
another poster) to force your custom build of the library to be used
when the program is executed.

You can even build the program using the system library and use the
custom built later by setting LD_LIBRARY_PATH.

See you,

-- 
Gustavo Noronha Silva <[EMAIL PROTECTED]>
GNOME contributor: http://www.gnome.org/

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread David Kilzer
LD_LIBRARY_PATH is a colon-separated list of paths to search (much like PATH 
for commands).  Just add the directory where the libwebkit.so(?) file is built 
(you must build WebKit before arora will find a library to link to) before 
/usr/local/lib (with a colon between them).

$ export LD_LIBRARY_PATH=/path/to/webkit/build/dir:/usr/local/lib

OR

$ LD_LIBRARY_PATH=/path/to/webkit/build/dir:/usr/local/lib /path/to/arora

Dave


On Tue, 7/8/08, Ye Xu <[EMAIL PROTECTED]> wrote:

> > On Linux, I believe you may set the LD_LIBRARY_PATH
> environment variable
> > (before running the executable) to change the library
> search path of the
> > binary.
> >
> 
> my current LD_LIBRARY_PATH had been set to /usr/local/lib,
> so I shall
> temporarily set it to my webkit trunk path? or somewhere
> else.
> 
> sorry for these stupid questions. :D
> 
> On Tue, Jul 8, 2008 at 4:37 PM, David Kilzer
> <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, 7/8/08, Ye Xu <[EMAIL PROTECTED]>
> wrote:
> > > > If you run ldd arora it will tell you which
> library
> > > > Arora is linked against.
> > >
> > > get into the arora building path
> > > "ldd arora" give back the following
> output, it
> > > seems that it still use the
> > > system libs, so how can I solve the problem?
> maybe manuelly
> > > replace that
> > > /usr/lib/libqtwebkit.so.4 with the trunk compiled
> version?
> >
> > On Linux, I believe you may set the LD_LIBRARY_PATH
> environment variable
> > (before running the executable) to change the library
> search path of the
> > binary.
> >
> > Dave
> >
> >
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Ye Xu
>
> On Linux, I believe you may set the LD_LIBRARY_PATH environment variable
> (before running the executable) to change the library search path of the
> binary.
>

my current LD_LIBRARY_PATH had been set to /usr/local/lib, so I shall
temporarily set it to my webkit trunk path? or somewhere else.

sorry for these stupid questions. :D

On Tue, Jul 8, 2008 at 4:37 PM, David Kilzer <[EMAIL PROTECTED]> wrote:

> On Tue, 7/8/08, Ye Xu <[EMAIL PROTECTED]> wrote:
> > > If you run ldd arora it will tell you which library
> > > Arora is linked against.
> >
> > get into the arora building path
> > "ldd arora" give back the following output, it
> > seems that it still use the
> > system libs, so how can I solve the problem? maybe manuelly
> > replace that
> > /usr/lib/libqtwebkit.so.4 with the trunk compiled version?
>
> On Linux, I believe you may set the LD_LIBRARY_PATH environment variable
> (before running the executable) to change the library search path of the
> binary.
>
> Dave
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Benjamin Meyer
On Tuesday 08 July 2008 16:26:27 Ye Xu wrote:
> > If you run ldd arora it will tell you which library Arora is linked
> > against.
>
> get into the arora building path
> "ldd arora" give back the following output, it seems that it still use the
> system libs, so how can I solve the problem? maybe manuelly replace that
> /usr/lib/libqtwebkit.so.4 with the trunk compiled version?
>
> [EMAIL PROTECTED]:~/build/arora$ ldd arora
>
> > linux-vdso.so.1 =>  (0x7fff133fe000)
> > *libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x7f460a4c7000)*

Looks like it is still using the old Makefile.  Run 'make distclean' and then 
qmake (qmake-qt4 on Debian) and then make.  You shouldn't need to replace the 
system libraries.

-Benjamin Meyer

P.S. You can join the arora room on irc.freenode for faster question 
turnaround :)


signature.asc
Description: This is a digitally signed message part.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread David Kilzer
On Tue, 7/8/08, Ye Xu <[EMAIL PROTECTED]> wrote:
> > If you run ldd arora it will tell you which library
> > Arora is linked against.
> 
> get into the arora building path
> "ldd arora" give back the following output, it
> seems that it still use the
> system libs, so how can I solve the problem? maybe manuelly
> replace that
> /usr/lib/libqtwebkit.so.4 with the trunk compiled version?

On Linux, I believe you may set the LD_LIBRARY_PATH environment variable 
(before running the executable) to change the library search path of the binary.

Dave

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Ye Xu
>
> If you run ldd arora it will tell you which library Arora is linked
> against.
>

get into the arora building path
"ldd arora" give back the following output, it seems that it still use the
system libs, so how can I solve the problem? maybe manuelly replace that
/usr/lib/libqtwebkit.so.4 with the trunk compiled version?

[EMAIL PROTECTED]:~/build/arora$ ldd arora
> linux-vdso.so.1 =>  (0x7fff133fe000)
> *libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x7f460a4c7000)*
> libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x7f460996a000)
> libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x7f4609662000)
> libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x7f460922)
> libpthread.so.0 => /lib/libpthread.so.0 (0x7f4609004000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f4608cf9000)
> libm.so.6 => /lib/libm.so.6 (0x7f4608a78000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f460886a000)
> libc.so.6 => /lib/libc.so.6 (0x7f4608508000)
> libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x7f46082a4000)
> libaudio.so.2 => /usr/lib/libaudio.so.2 (0x7f460808b000)
> libpng12.so.0 => /usr/lib/libpng12.so.0 (0x7f4607e64000)
> libSM.so.6 => /usr/lib/libSM.so.6 (0x7f4607c5c000)
> libICE.so.6 => /usr/lib/libICE.so.6 (0x7f4607a41000)
> libz.so.1 => /usr/lib/libz.so.1 (0x7f460782a000)
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x7f460756a000)
> libXi.so.6 => /usr/lib/libXi.so.6 (0x7f4607361000)
> libXrender.so.1 => /usr/lib/libXrender.so.1 (0x7f4607158000)
> libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x7f4606f51000)
> libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x7f4606cd2000)
> libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x7f4606aa1000)
> libXext.so.6 => /usr/lib/libXext.so.6 (0x7f460689)
> libX11.so.6 => /usr/lib/libX11.so.6 (0x7f460658d000)
> libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0
> (0x7f4606389000)
> librt.so.1 => /lib/librt.so.1 (0x7f460618)
> libdl.so.2 => /lib/libdl.so.2 (0x7f4605f7c000)
> /lib64/ld-linux-x86-64.so.2 (0x7f460b13b000)
> libXt.so.6 => /usr/lib/libXt.so.6 (0x7f4605d18000)
> libpcre.so.3 => /usr/lib/libpcre.so.3 (0x7f4605af2000)
> libselinux.so.1 => /lib/libselinux.so.1 (0x7f46058d6000)
> libexpat.so.1 => /usr/lib/libexpat.so.1 (0x7f46056b2000)
> libXau.so.6 => /usr/lib/libXau.so.6 (0x7f46054b)
> libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x7f46052af000)
> libxcb.so.1 => /usr/lib/libxcb.so.1 (0x7f4605094000)
> libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x7f4604e8f000)
>



On Tue, Jul 8, 2008 at 4:18 PM, Benjamin Meyer <[EMAIL PROTECTED]>
wrote:

> > thx for your hints, I had done the following
> >
> > export QT_WEBKIT=webkit_trunk
> > export WEBKITHOME=/home/seen/build/WebKit
> > qmake
> > make clean
> > make
> >
> > but it seems that arora still don't use the latest qtwebkit, or how can I
> > find out, arora actually used it? or can I use qmake-qt4 instead of
> qmake?
>
> If you run ldd arora it will tell you which library Arora is linked
> against.
>
> -Benjamin Meyer
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Benjamin Meyer
> thx for your hints, I had done the following
>
> export QT_WEBKIT=webkit_trunk
> export WEBKITHOME=/home/seen/build/WebKit
> qmake
> make clean
> make
>
> but it seems that arora still don't use the latest qtwebkit, or how can I
> find out, arora actually used it? or can I use qmake-qt4 instead of qmake?

If you run ldd arora it will tell you which library Arora is linked against.

-Benjamin Meyer


signature.asc
Description: This is a digitally signed message part.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Ye Xu
>
> Hmm, I replied there, but my e-mail still hasn't posted to the
> mailinglist...
>
odd
>

yeah, sometimes google group just behave odd or the reply appears on it with
huge delay.

For example I have my webkit checked out in /home/ben/dev/webkit so I point
> it
> to that location.
>

QT_WEBKIT you simply set to 'webkit_trunk', it is a flag for qmake.  You
> could probably merge these two defines into 1, but I wasn't sure how using
> qmake.
>

thx for your hints, I had done the following

export QT_WEBKIT=webkit_trunk
export WEBKITHOME=/home/seen/build/WebKit
qmake
make clean
make

but it seems that arora still don't use the latest qtwebkit, or how can I
find out, arora actually used it? or can I use qmake-qt4 instead of qmake?


You can check out the src/webkittrunk.pri in Arora for the exact details of
> how they are used.
>

I had checked out that file to make sure the WEBKITHOME set to the right
path.


regards.

Ye


On Tue, Jul 8, 2008 at 1:32 PM, Benjamin Meyer <[EMAIL PROTECTED]>
wrote:

> On Tuesday 08 July 2008 11:48:22 Ye Xu wrote:
> > hi all,
> >
> > sorry, this question may unrelated with webkit dev,
> > and I had asked a similar question on arora's google group,
> > but no body answer me. so I will try to ask it here.
>
> Hmm, I replied there, but my e-mail still hasn't posted to the
> mailinglist...
> odd
>
> > at the following page,
> > http://code.google.com/p/arora/wiki/source?tm=4
> > there is one short description at the bottom to tell us how to build
> > arora with the latest webkit trunk. but I just can't get the idea
> >
> > $ export QT_WEBKIT=webkit_trunk
> > $ export WEBKITHOME=/path/to/webkit
> >
> > what the WEBKITHOME constant should be, can somebody give me an example
> > path, where I shall point it to, maybe the webkit lib path like /usr/
> > lib/ or something else ?
>
> For example I have my webkit checked out in /home/ben/dev/webkit so I point
> it
> to that location.
>
> > and for constant QT_WEBKIT I shall simply point it to the webkit
> > trunk/tarball source
> > path, like /home/username/webkit-tarball/compilewebkithere,
> > if I had compiled webkit at that path, right?
>
> Nope, QT_WEBKIT you simply set to 'webkit_trunk', it is a flag for qmake.
>  You
> could probably merge these two defines into 1, but I wasn't sure how using
> qmake.
>
> You can check out the src/webkittrunk.pri in Arora for the exact details of
> how they are used.
>
> -Benjamin Meyer
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Benjamin Meyer
On Tuesday 08 July 2008 11:48:22 Ye Xu wrote:
> hi all,
>
> sorry, this question may unrelated with webkit dev,
> and I had asked a similar question on arora's google group,
> but no body answer me. so I will try to ask it here.

Hmm, I replied there, but my e-mail still hasn't posted to the mailinglist...  
odd

> at the following page,
> http://code.google.com/p/arora/wiki/source?tm=4
> there is one short description at the bottom to tell us how to build
> arora with the latest webkit trunk. but I just can't get the idea
>
> $ export QT_WEBKIT=webkit_trunk
> $ export WEBKITHOME=/path/to/webkit
>
> what the WEBKITHOME constant should be, can somebody give me an example
> path, where I shall point it to, maybe the webkit lib path like /usr/
> lib/ or something else ?

For example I have my webkit checked out in /home/ben/dev/webkit so I point it 
to that location.

> and for constant QT_WEBKIT I shall simply point it to the webkit
> trunk/tarball source
> path, like /home/username/webkit-tarball/compilewebkithere,
> if I had compiled webkit at that path, right?

Nope, QT_WEBKIT you simply set to 'webkit_trunk', it is a flag for qmake.  You 
could probably merge these two defines into 1, but I wasn't sure how using 
qmake.

You can check out the src/webkittrunk.pri in Arora for the exact details of 
how they are used.

-Benjamin Meyer


signature.asc
Description: This is a digitally signed message part.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] how to build arora with latest qtwebkit

2008-07-08 Thread Ye Xu
hi all,

sorry, this question may unrelated with webkit dev,
and I had asked a similar question on arora's google group,
but no body answer me. so I will try to ask it here.


at the following page,
http://code.google.com/p/arora/wiki/source?tm=4
there is one short description at the bottom to tell us how to build
arora with the latest webkit trunk. but I just can't get the idea

$ export QT_WEBKIT=webkit_trunk
$ export WEBKITHOME=/path/to/webkit

what the WEBKITHOME constant should be, can somebody give me an example
path, where I shall point it to, maybe the webkit lib path like /usr/
lib/ or something else ?
and for constant QT_WEBKIT I shall simply point it to the webkit
trunk/tarball source
path, like /home/username/webkit-tarball/compilewebkithere,
if I had compiled webkit at that path, right?

ps, system spec
xubuntu 8.06. amd64

thx and regards

Ye
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev