From ctg at tid.es Mon Jun 2 16:55:41 2003
From: ctg at tid.es (Caterina Torrisi)
Date: Mon Jun 2 15:55:26 2003
Subject: new JavaScript objects
Message-ID: <004401c3290e$a7e8aaf0$940c5f0a@italy>
Hi,
I need to add new objects to the JavaScript engine generating a dynamic library (.so). Then the Konqueror file can call this library to support the new JavaScript objects that I defined before.
Is there any method to do this? Could someone help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20030602/0bafbfe7/attachment.htm
From mikelima at virgilio.it Mon Jun 2 17:08:34 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Mon Jun 2 16:10:40 2003
Subject: new JavaScript objects
In-Reply-To: <004401c3290e$a7e8aaf0$940c5f0a@italy>
References: <004401c3290e$a7e8aaf0$940c5f0a@italy>
Message-ID: <200306021608.34803.mikelima@virgilio.it>
On Monday 02 June 2003 15:55, Caterina Torrisi wrote:
> Hi,
> I need to add new objects to the JavaScript engine generating a dynamic
> library (.so). Then the Konqueror file can call this library to support the
> new JavaScript objects that I defined before. Is there any method to do
> this? Could someone help me?
It can be done, but it is much easier if you don't need to use a dynamic
library.
Konq-embed has a way to register javascript extensions, but you need to
configure it with "--enable-jshostext".
An example extension is the jsdebug add-on. You will not find a simpler
javascript object than that. If you only have to add functions that is a good
start.
What version of konqueror embedded are you using, by the way?
Javascript is much different in CVS HEAD versus KONQE_1_0_BRANCH.
Luciano
From mikelima at virgilio.it Mon Jun 2 17:10:09 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Mon Jun 2 16:14:06 2003
Subject: new JavaScript objects
In-Reply-To: <004401c3290e$a7e8aaf0$940c5f0a@italy>
References: <004401c3290e$a7e8aaf0$940c5f0a@italy>
Message-ID: <200306021610.09736.mikelima@virgilio.it>
On Monday 02 June 2003 15:55, Caterina Torrisi wrote:
> Hi,
> I need to add new objects to the JavaScript engine generating a dynamic
> library (.so). Then the Konqueror file can call this library to support the
> new JavaScript objects that I defined before. Is there any method to do
> this? Could someone help me?
It can be done, but it is much easier if you don't need to use a dynamic
library.
Konq-embed has a way to register javascript extensions, but you need to
configure it with "--enable-jshostext".
An example extension is the jsdebug add-on. You will not find a simpler
javascript object than that. If you only have to add functions that is a good
start.
What version of konqueror embedded are you using, by the way?
Javascript is much different in CVS HEAD versus KONQE_1_0_BRANCH.
Let me know if there
From rp at infratec-plus.de Tue Jun 3 16:50:39 2003
From: rp at infratec-plus.de (Robert Parusel)
Date: Tue Jun 3 15:53:26 2003
Subject: KonqE with JavaScript
Message-ID: <200306031550.39223.rp@infratec-plus.de>
Hallo,
I want to use konqueror embedded with javascript.
Konqueror is working but javascript not.
For example the testpage test.html :
testpage
should place a dialog box on my screen, should'nt it ?
--
Mit freundlichen Gr??en
R.Parusel
-------------------------------------------------------------
Linus Torvalds: "We're back to the times where men were men,
and wrote their own device drivers."
Zaphod: "In those days spirits were brave,
the stakes were high,
men were REAL men,
women were REAL women,
and small furry creatures from Alpha Centauri were REAL small
furry
creatures from Aplha Centauri."
=============================================================
Infratec-Plus
Gesellschaft f?r innovative Datentechnik mbH
Werner-von-Siemens-Strasse 7
64625 Bensheim
R.Parusel / Tel: 06251/8405-460 / mailto:rp@infratec-plus.de
=============================================================
From rp at infratec-plus.de Tue Jun 3 17:02:05 2003
From: rp at infratec-plus.de (Robert Parusel)
Date: Tue Jun 3 16:05:05 2003
Subject: KonqE and javascript
Message-ID: <200306031602.05239.rp@infratec-plus.de>
&^$%@#(^%( Oops, another lame programmer. Sorry for the incomplete message.
Hallo,
I want to use konqueror embedded with javascript.
Konqueror is working but javascript not.
For example the testpage test.html :
testpage
should place a dialog box on my screen, or not?
But it dit'nt.
QT was build with:
export KDEDIR=/opt/kde2
export QTDIR=/usr/src/qt/qt-embedded-2.3.2/qt-2.3.2
export LD_LIBRARY_PATH=/usr/src/qt/qt-embedded-2.3.2/qt-2.3.2:$LD_LIBRARY_PATH
./configure -release -shared -gif -sm -thread -qt-zlib -qt-libpng
-system-libmng -system-jpeg -kde -xft -depths 4,8,16,24,32 -vnc -xplatform
linux-x86-g++
and konqueror with:
./configure \
--disable-debug \
--disable-warnings \
--enable-static \
--enable-qt-embedded \
--enable-embedded \
--enable-kernel-threads \
--enable-readwrite \
--enable-cgi \
--enable-sortdir \
--enable-sidebar \
--enable-xmlui \
--enable-fontsubs \
--enable-largeicons \
--enable-javascript \
--enable-jshostext \
--with-qt-dir=/usr/src/qt/qt-embedded-2.3.2/qt-2.3.2 \
--with-qt-includes=/usr/src/qt/qt-embedded-2.3.2/qt-2.3.2/include \
--with-qt-libraries=/usr/src/qt/qt-embedded-2.3.2/qt-2.3.2/lib \
--with-javascript=static
make -j 10
Any hints ?
Regards.
R.Parusel
-------------------------------------------------------------
Linus Torvalds: "We're back to the times where men were men,
and wrote their own device drivers."
Zaphod: "In those days spirits were brave,
the stakes were high,
men were REAL men,
women were REAL women,
and small furry creatures from Alpha Centauri were REAL small
furry
creatures from Aplha Centauri."
=============================================================
Infratec-Plus
Gesellschaft f?r innovative Datentechnik mbH
Werner-von-Siemens-Strasse 7
64625 Bensheim
R.Parusel / Tel: 06251/8405-460 / mailto:rp@infratec-plus.de
=============================================================
From mikelima at virgilio.it Tue Jun 3 17:18:54 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Tue Jun 3 16:22:26 2003
Subject: KonqE and javascript
In-Reply-To: <200306031602.05239.rp@infratec-plus.de>
References: <200306031602.05239.rp@infratec-plus.de>
Message-ID: <200306031618.56253.mikelima@virgilio.it>
16:02, marted? 3 giugno 2003, skrev Robert Parusel:
> Any hints ?
Are you sure Javascript is enabled?
Check your konq-embedrc,there should be the line
EnableJavaScript=true
under the
[JavaScript Settings]
section. If that is already the case, well, I don't know what to say, the
configuration options look right.
--
Luciano Montanaro// My public GPG key can be /"\ ASCII RIBBON
\X/ found at wwwkeys.pgp.net \ / CAMPAIGN
X AGAINST HTML
/ \ MAIL
From ctg at tid.es Tue Jun 3 18:53:53 2003
From: ctg at tid.es (Caterina Torrisi)
Date: Tue Jun 3 17:54:26 2003
Subject: new JavaScript objects
References: <004401c3290e$a7e8aaf0$940c5f0a@italy>
<200306021608.34803.mikelima@virgilio.it>
Message-ID: <008101c329e8$555aa060$940c5f0a@italy>
> On Monday 02 June 2003 15:55, Caterina Torrisi wrote:
> > Hi,
> > I need to add new objects to the JavaScript engine generating a dynamic
> > library (.so). Then the Konqueror file can call this library to support the
> > new JavaScript objects that I defined before. Is there any method to do
> > this? Could someone help me?
>
> It can be done, but it is much easier if you don't need to use a dynamic
> library.
> Konq-embed has a way to register javascript extensions, but you need to
> configure it with "--enable-jshostext".
> An example extension is the jsdebug add-on. You will not find a simpler
> javascript object than that. If you only have to add functions that is a good
> start.
> What version of konqueror embedded are you using, by the way?
> Javascript is much different in CVS HEAD versus KONQE_1_0_BRANCH.
>
>
>
> Luciano
>
Hi Luciano,
thanks for your help
I have seen the example that you suggest but it is not clear enough the way that the Konq-embed has to register the new javascript objects and where the Konq evaluates the new objects.
Ancora grazie,
un saluto
Caterina.
_______________________________________________
> konq-e mailing list
> konq-e@mail.kde.org
> http://mail.kde.org/mailman/listinfo/konq-e
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20030603/340acace/attachment.htm
From Paul.Chitescu at IMC-Group.org Wed Jun 4 19:28:53 2003
From: Paul.Chitescu at IMC-Group.org (Paul Chitescu)
Date: Wed Jun 4 17:21:45 2003
Subject: new JavaScript objects
References: <004401c3290e$a7e8aaf0$940c5f0a@italy>
<200306021608.34803.mikelima@virgilio.it>
<008101c329e8$555aa060$940c5f0a@italy>
Message-ID: <002501c32aae$0217dbe0$e7b9e6c1@s40.icpe.ro>
> Hi Luciano,
> thanks for your help
> I have seen the example that you suggest but it is not clear enough the
way that the Konq-embed has to register the new javascript objects and where
the Konq evaluates the new objects.
>
> Ancora grazie,
> un saluto
> Caterina.
Sometimes during init the extension callback should be registered via
KJS::addJsExtension(&mycallback). There is no way to unregister an
extension - you have to shut down the browser.
Later, each time a new HTMLView is created all registered callback functions
are called with the following parameters:
- the KParts::ReadOnlyPart for which the interpreter is created (check this
if it inherits("KHTMLPart") ) - most extensions objects will want to store a
copy of this pointer internally
- the URL of this page (many extensions will want to perform some security
check or only install on local URLs - hint:
KIO::File::implementsProto(url.protocol()) )
- the MIME type - this is usually text/html but not always
- the KJS::KJSO object in which the objects should be inserted; normally
this is the global object of the window. For embedded objects (like the
simple sound sample) this is the EMBED object reflected from DOM - this is
currently broken by concept.
You should do anything you want with the JS object - normally you put()
something in it - a variable, a function, an object, a constructor. The
jsdebug sample adds just a single function but you can add any number of
them.
As soon as I check all the security implications I'll upload an extension
that adds client sockets (TCP and UNIX) capabilities. This one inserts a
(simplified) constructor and deals with some unexpected side effects of the
Javascript objects like their late (or missing!) destruction.
I have also an extension that allows a page to dynamically create KActions
and handle toolbar buttons from Javascript code.
Paul Chitescu
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
From scaffardi at airventsam.it Wed Jun 11 13:17:44 2003
From: scaffardi at airventsam.it (Paolo Scaffardi)
Date: Wed Jun 11 12:18:17 2003
Subject: Cross compiling qt 3.x
Message-ID: <000101c33002$b6193900$0100000a@airvent.it>
I have difficulties migrating from qt 2.x to 3.x because of changed
configuration options and building methods.
I need to configure it to build using our cross-compiling toolset
(hardhat).
How did you do that?
Bye,
Paolo Scaffardi
Linux Software Engineer at Aivent SAM S.p.A.
via Macanno 32, 47900 Rimini
Tel. +39 0541 383294
Fax +39 0541 387086
From scaffardi at airventsam.it Wed Jun 11 13:17:44 2003
From: scaffardi at airventsam.it (Paolo Scaffardi)
Date: Wed Jun 11 12:18:18 2003
Subject: Disabling dynamic load of openssl libraries and opendl
Message-ID: <000201c33002$bc8b27d0$0100000a@airvent.it>
I am trying to disable dynamic load of openssl libraries in konqueror,
in order to have a static single executable, but when doing that, the
compiler stops building kparts telling me something like "undefined
referenced symbol dlopen and dlsym".
How can I fix that? (I am using last snapshot based on the qt 2.x, not
the last one)
Bye,
Paolo Scaffardi
Linux Software Engineer at Aivent SAM S.p.A.
via Macanno 32, 47900 Rimini
Tel. +39 0541 383294
Fax +39 0541 387086
From acc at tid.es Wed Jun 11 14:03:52 2003
From: acc at tid.es (Amadeo Casas Cuadrado)
Date: Wed Jun 11 13:04:29 2003
Subject: Dynamic library with an add-on
Message-ID: <3EE70C98.2060203@tid.es>
Hello,
I've made an extension to Konqueror creating a new add-on. It works. But
now I want to create a dynamic library (.so) with this extension and I
don't know how to do it. I don't want to increase the size of the
executable konqueror file and I only want to use this dynamic library.
I've made a dynamic library (.so) with the .cpp file of the extension
and I've modified the main.cc file, but it doesn't works...
Anyone could tell me what are the steps that I have to follow?
Thanks in advance.
From Paul.Chitescu at IMC-Group.org Wed Jun 11 16:53:57 2003
From: Paul.Chitescu at IMC-Group.org (Paul Chitescu)
Date: Wed Jun 11 15:07:47 2003
Subject: Dynamic library with an add-on
References: <3EE70C98.2060203@tid.es>
Message-ID: <003101c33018$865a0260$e7b9e6c1@s40.icpe.ro>
"Amadeo Casas Cuadrado" wrote:
> Hello,
>
> I've made an extension to Konqueror creating a new add-on. It works. But
> now I want to create a dynamic library (.so) with this extension and I
> don't know how to do it. I don't want to increase the size of the
> executable konqueror file and I only want to use this dynamic library.
> I've made a dynamic library (.so) with the .cpp file of the extension
> and I've modified the main.cc file, but it doesn't works...
>
> Anyone could tell me what are the steps that I have to follow?
>
> Thanks in advance.
Having add-ons in dynamic libraries is currently not supported but i'm
working on it - shouldn't be difficult to implement. The only question is
about the method of registering those add-ons: we may use a section in the
configuration file or we may list all .so files in some directory - i
suggest $KDEDIR/share/apps/konq-embed/addons/ - or we may allow both
methods.
Currently -export-dynamic is enabled in konq-embed/src/Makefile.am -
removing it (like I do) reduces the executable size by about 650kb (i386).
That option should be conditionally added anyway since it's required only
when KJS is loaded dynamically or when dynamic add-ons - like yours - are
used.
That only works so easy on Linux and other ELF systems. On Windows symbols
can be exported only from libraries - not executables - so Konq/E must be
broken into one or more libraries and a (small) main program.
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
From mikelima at virgilio.it Thu Jun 12 11:45:47 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Thu Jun 12 10:49:07 2003
Subject: Dynamic library with an add-on
In-Reply-To: <003101c33018$865a0260$e7b9e6c1@s40.icpe.ro>
References: <3EE70C98.2060203@tid.es>
<003101c33018$865a0260$e7b9e6c1@s40.icpe.ro>
Message-ID: <200306121045.52158.mikelima@virgilio.it>
onsdag 11 juni 2003, 14:53, skrev Paul Chitescu:
> Having add-ons in dynamic libraries is currently not supported but i'm
> working on it - shouldn't be difficult to implement. The only question is
> about the method of registering those add-ons: we may use a section in the
> configuration file or we may list all .so files in some directory - i
> suggest $KDEDIR/share/apps/konq-embed/addons/ - or we may allow both
> methods.
>
Hi Paul, I have seen you committed something to this effect since yesterday.
Is it safe to port it to the head, or should I wait a bit more?
> Currently -export-dynamic is enabled in konq-embed/src/Makefile.am -
> removing it (like I do) reduces the executable size by about 650kb (i386).
> That option should be conditionally added anyway since it's required only
> when KJS is loaded dynamically or when dynamic add-ons - like yours - are
> used.
>
Cool, I didn't realize that option made such a difference. Since, as you say
it is currently needed when kjs is dynamically loaded, it should be added for
that case only. I'll change the configure.in.in script in head to only enable
it in that case, for now.
--
Luciano Montanaro// My public GPG key can be /"\ ASCII RIBBON
\X/ found at wwwkeys.pgp.net \ / CAMPAIGN
X AGAINST HTML
/ \ MAIL
From Paul.Chitescu at IMC-Group.org Thu Jun 12 15:38:56 2003
From: Paul.Chitescu at IMC-Group.org (Paul Chitescu)
Date: Thu Jun 12 15:07:46 2003
Subject: Dynamic library with an add-on
References:
<3EE70C98.2060203@tid.es><003101c33018$865a0260$e7b9e6c1@s40.icpe.ro>
<200306121045.52158.mikelima@virgilio.it>
Message-ID: <000e01c330d7$36b8f9e0$e7b9e6c1@s40.icpe.ro>
"Luciano Montanaro" wrote:
> Hi Paul, I have seen you committed something to this effect since
yesterday.
> Is it safe to port it to the head, or should I wait a bit more?
Please wait a little more until I will have at least one working example. I
have to figure out how to tell the linker to resolve symbols back in the
konqueror executable. Of course the dynamic add-ons have to be built after
the main executable.
> Cool, I didn't realize that option made such a difference. Since, as you
say
> it is currently needed when kjs is dynamically loaded, it should be added
for
> that case only. I'll change the configure.in.in script in head to only
enable
> it in that case, for now.
I don't think dynamically loading Javascript still works - but what do I
know, I didn't try it.
I've already modified the autoconf and automake input files to take care of
symbols. Look in konq-embed/configure.in.in and konq-embed/src/Makefile.am
at the variables "require_dlopen", "export_symbols" and "EXPORT_SYMBOLS".
There are still some cases when the symbols are unnecessarily exported -
like when using --enable-dlopen-addons but no add-on actually links against
kde but just other libraries: libc, qt - like adding a QImage converter or
applying a QStyle.
Maybe add support for something like "--enable-dlopen-addons=noexport" ?
That would be easy.
One more thing I would like to do is to write some documentation. Many
features were added but no documentation except what can be found on this
list.
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
From mikelima at virgilio.it Thu Jun 12 16:58:34 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Thu Jun 12 16:01:49 2003
Subject: Dynamic library with an add-on
In-Reply-To: <000e01c330d7$36b8f9e0$e7b9e6c1@s40.icpe.ro>
References: <3EE70C98.2060203@tid.es>
<200306121045.52158.mikelima@virgilio.it>
<000e01c330d7$36b8f9e0$e7b9e6c1@s40.icpe.ro>
Message-ID: <200306121558.37479.mikelima@virgilio.it>
torsdag 12 juni 2003, 13:38, skrev Paul Chitescu:
> "Luciano Montanaro" wrote:
> > Hi Paul, I have seen you committed something to this effect since
>
> yesterday.
>
> > Is it safe to port it to the head, or should I wait a bit more?
>
> Please wait a little more until I will have at least one working example. I
> have to figure out how to tell the linker to resolve symbols back in the
> konqueror executable. Of course the dynamic add-ons have to be built after
> the main executable.
>
All right then, no need to hurry.
> > Cool, I didn't realize that option made such a difference. Since, as you
>
> say
>
> > it is currently needed when kjs is dynamically loaded, it should be added
>
> for
>
> > that case only. I'll change the configure.in.in script in head to only
>
> enable
>
> > it in that case, for now.
>
> I don't think dynamically loading Javascript still works - but what do I
> know, I didn't try it.
>
I'm not sure either. I used to use --with-javascript=dynamic a while ago, but
I stopped using it when I managed to unbreak static linking.
> I've already modified the autoconf and automake input files to take care of
> symbols. Look in konq-embed/configure.in.in and konq-embed/src/Makefile.am
> at the variables "require_dlopen", "export_symbols" and "EXPORT_SYMBOLS".
>
> There are still some cases when the symbols are unnecessarily exported -
> like when using --enable-dlopen-addons but no add-on actually links against
> kde but just other libraries: libc, qt - like adding a QImage converter or
> applying a QStyle.
> Maybe add support for something like "--enable-dlopen-addons=noexport" ?
> That would be easy.
>
> One more thing I would like to do is to write some documentation. Many
> features were added but no documentation except what can be found on this
> list.
>
I suppose these have been added in your recent patches. I have not yet looked
at them, currently I have simply defined an EXPORT_DYNAMIC_OPTION variable,
which is set to "" unless dynamic javascript loading is requred. I will not
commit it though, since the work you are doing will obsolete this change.
Luciano
--
Luciano Montanaro// My public GPG key can be /"\ ASCII RIBBON
\X/ found at wwwkeys.pgp.net \ / CAMPAIGN
X AGAINST HTML
/ \ MAIL
From Paul.Chitescu at IMC-Group.org Fri Jun 13 19:27:01 2003
From: Paul.Chitescu at IMC-Group.org (Paul Chitescu)
Date: Fri Jun 13 17:18:57 2003
Subject: Dynamic library with an add-on
References: <3EE70C98.2060203@tid.es>
Message-ID: <006601c331c0$3cedb8c0$e7b9e6c1@s40.icpe.ro>
OK, as of now (Friday 13th :) Konq/E KONQE_1_0_BRANCH supports having
dynamic add-ons and also offers some support for building them.
I modified the Flash add-on so that is linked statically or built as a
dynamic add-on depending if the support is configured in. Look carefully at
that example, especially at the linker flags. It took me two days and a few
changes to figure out how to build everything conditionally. I didn't yet
manage to persuade automake to install the library in the proper place (see
below).
The magic word you want to say to configure is --enable-dlopen-addons
The add-on shared libraries can be loaded in two ways:
1. Place them in a directory and let the executable detect and load them.
The directories are those returned by locate("data","konq-embed/add-ons/"),
that is:
$KDEHOME/share/apps/konq-embed/add-ons/
or
$KDEDIR/share/apps/konq-embed/add-ons/
Note that if the first directory exists the second isn't searched at all.
Each library must be named like libFoo.so (replace Foo with whatever
appropriate but with no dots) and must be marked executable on non-windows
platforms (chmod +x). Each library is loaded early (after statically linked
add-ons) and the entry point konqe_register_libFoo is called. The
declaration should look like this:
extern "C" void konqe_register_libFoo()
2. For add-ons that implement parts (something derived from
KParts::ReadOnlyPart) you can use the configuration file konq-embedrc and in
the [MIME Handlers] section write something like:
application/x-my-readonly-part=!/path/to/libmyviewer.so
application/x-my-readwrite-part=!!/path/to/libmyreadwritepart.so
The library will be loaded late - at the first request to load data with
that MIME type. The function called is similar to what KDE normally
requires - see KLibrary::factory() - but you have to return a pointer to a
KParts::Factory
extern "C" void* init_libmyviewer()
extern "C" void* init_libmyreadwritepart()
Again, look at the example at the end of add-ons/kflashpart/kflashpart.cpp
which implements both methods presented above.
As a side note now konqueror will no longer export its symbols
unnecessarilly, that is if neither --enable-dlopen-addons
or --with-javascript=dynamic are specified. There is no need to export
symbols for --enable-dynamic-ssl (the previous description --dynamic-ssl was
wrong, I fixed it) but only to support dlopen.
Good luck.
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
From acc at tid.es Mon Jun 16 14:24:45 2003
From: acc at tid.es (Amadeo Casas Cuadrado)
Date: Mon Jun 16 13:24:37 2003
Subject: Dynamic library with an add-on... (again)
Message-ID: <3EEDA8FD.6040404@tid.es>
Hello,
I read the answer of Paul Chitescu and I followed the steps because I
want to use a dynamic library with the jsdebug add-on, but it doesn't
work. I've generated a dynamic library (libjsdebug.so) with the
jsdebug.cpp file. Then I configure Konqueror with --enable-dlopen-addons
(and not with --enable-add-ons=jsdebug), but it doesn't work.
I don't know if Konqueror doesn't find the dynamic library or if I
forgot any step. Did someone use the jsdebug add-on as a dynamic
library? Any idea?
Thanks in advance.
From Paul.Chitescu at IMC-Group.org Mon Jun 16 16:17:16 2003
From: Paul.Chitescu at IMC-Group.org (Paul Chitescu)
Date: Mon Jun 16 14:08:53 2003
Subject: Dynamic library with an add-on... (again)
References: <3EEDA8FD.6040404@tid.es>
Message-ID: <006801c33401$3a558280$e7b9e6c1@s40.icpe.ro>
"Amadeo Casas Cuadrado" wrote:
> Hello,
>
> I read the answer of Paul Chitescu and I followed the steps because I
> want to use a dynamic library with the jsdebug add-on, but it doesn't
> work. I've generated a dynamic library (libjsdebug.so) with the
> jsdebug.cpp file. Then I configure Konqueror with --enable-dlopen-addons
> (and not with --enable-add-ons=jsdebug), but it doesn't work.
>
> I don't know if Konqueror doesn't find the dynamic library or if I
> forgot any step. Did someone use the jsdebug add-on as a dynamic
> library? Any idea?
>
> Thanks in advance.
It should be easy to make it work. Please check the debugging output, there
are two possible warning messages of interest (very early in the output,
just after the Launcher::dispatchLoop()... line):
WARNING: failed to load add-on 'libjsdebug.so'
or
WARNING: add-on 'libjsdebug.so' has no symbol 'konqe_register_libjsdebug'
Did you place the library in the right directory? Does it have read and
execute rights for the user Konq/E runs as? If not you won't see any
message, the library will be simply ignored. Look in main.cc for the
function init_dynamic_addons() and the defines above it to understand how
these get loaded.
Also try to run "nm" on the unstripped libjsdebug.so to see if the proper
symbols are exported and referenced.
I don't know how you generated libjsdebug.so but it MUST NOT include static
code from KJS - ldd should show it depending only on glibc and stdc++ and
all KJS symbols must be undefined - that's why --allow-shlib-undefined must
be passed to ld. This is tricky since it's easy to create shared objects
that won't load at runtime since the linker cannot check if the missing
symbols can be resolved.
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
From iampanfi at ms75.hinet.net Tue Jun 17 16:05:54 2003
From: iampanfi at ms75.hinet.net (iampanfine)
Date: Tue Jun 17 09:05:57 2003
Subject: The excellent partner for your business! (030617-3)
Message-ID: <1309$4209$7D91@16933>
We would like to apologize as soon as this email is caused you any inconvenience. If it is, should you delete it directly, or send it back to iampanfi@ms75.hinet.net. Many thanks!
Dear Sir/Madam:
PANFINE GROUP, since 1982
The Reliable Partner: Stable Cooperation, Truly Support With Coordination & Understanding
Are you seeking partner in China? Where is it? Here Panfine is!
"PANFINE GROUP" is very suitable for customers who need a partner's resource & production in China.
Services: (Location in Shanghai, China)
*RESOURCE
*REPACKAGE
*LOGISTIC CENTER
*PRODUCTION
Products:
1. Precision Components (CNC Lathe): Electronic, Computer Hardware, Medical Device, Optical-Fiber Instrument, Communication Equipment, Food Hardware, Pneumatic Tools, etc and any parts.
2. Wireless Solution
3. Action Scanners
4. 4-lens Camera (Action Sampler)
5. General Merchandise: Bike, Beauty Care Implement, and Toy¡Ketc.
6. Industrial Items: Battery Button, Cable Tie, Ferrite Core, Electronic Transformer,
and Safety Gear Product¡Ketc.
If you are looking for more profit or reducing cost for business, please contact with us immediately. We wish you having a great success in business!
Best regards,
Kimberly Chu for
Panfine Creations Corp. (030617-3)
From kentropy at libero.it Wed Jun 18 15:08:44 2003
From: kentropy at libero.it (Kentropy)
Date: Wed Jun 18 14:08:31 2003
Subject: Error building Koonqueror/embedded
Message-ID: <002201c33592$6433ce80$0200a8c0@arrakis>
Hello,
I am trying to build Konq/e for ARM processor using Qt/embedded qte-3.1.2
I downloaded konqueror-embedded-snapshot-20030516
I configured using this:
./xconfigure --disable-debug --enable-shared --enable-qt-embedded --enable-e
mbedded \
--without-ssl \
--prefix=$PWD/../install \
--with-qt-dir=/home/x/qte-3.1.2 \
--with-qt-includes=/home/x/qte-3.1.2/include \
--with-qt-libraries=/home/x/qte-3.1.2/lib
And I get this error during Configuration:
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not
found. Please check your installation!
For more details about this problem, look at the end of config.log.
Of course I have PATH=/home/x/qte-3.1.2/bin
and QTDIR=/home/x/qte-3.1.2
and LD_LIBRARY_PATH=/home/x/qte-3.1.2/lib
Everything seems ok but I 'm unable to guess where is the problem
Any help will be appreciated
TIA
K
From mikelima at virgilio.it Wed Jun 18 15:23:43 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Wed Jun 18 14:27:52 2003
Subject: Error building Koonqueror/embedded
In-Reply-To: <002201c33592$6433ce80$0200a8c0@arrakis>
References: <002201c33592$6433ce80$0200a8c0@arrakis>
Message-ID: <200306181423.46009.mikelima@virgilio.it>
onsdag 18 juni 2003, 14:08, skrev Kentropy:
> Hello,
> I am trying to build Konq/e for ARM processor using Qt/embedded qte-3.1.2
> I downloaded konqueror-embedded-snapshot-20030516
With the snapshots, you have to use Qt2.
The HEAD of the CVS tree works with qt3.1.2, at least for me. If you want to
try it out, you have to checkout the modules kdelibs and kdenox from one of
the CVS mirrors.
Luciano
From kentropy at libero.it Wed Jun 18 15:39:12 2003
From: kentropy at libero.it (Kentropy)
Date: Wed Jun 18 14:39:01 2003
Subject: Error building Koonqueror/embedded
References: <002201c33592$6433ce80$0200a8c0@arrakis>
<200306181423.46009.mikelima@virgilio.it>
Message-ID: <000901c33596$a818ccf0$0200a8c0@arrakis>
Luciano,
thank you for answering.
I didn' understand what do you mean.
1. Where are CVS mirrors ?
2. Once I've downloaded modules kdelibs and kdenox what do I need to do ?
Could you please explain to me ?
Thanks
Ciao
>With the snapshots, you have to use Qt2.
>The HEAD of the CVS tree works with qt3.1.2, at least for me. If you want
to
>try it out, you have to checkout the modules kdelibs and kdenox from one of
>the CVS mirrors.
From kentropy at libero.it Wed Jun 18 16:54:59 2003
From: kentropy at libero.it (Kentropy)
Date: Wed Jun 18 15:54:37 2003
Subject: Fw: Error building Koonqueror/embedded
Message-ID: <001201c335a1$364a6d80$0200a8c0@arrakis>
Maybe could be useful to the list too...
> >Keep in mind, however that the HEAD branch has been tested (by me) only
on
> >i386, so you may have some trouble building it. If you want to try it
out,
> >you are welcome, obviously, and I'm interested in problem reports.
>
> Luciano,
> thank you for answering.
> Your explanation has been definitely CLEAR ! My compliments and THANKS.
> I get the following error now, what is this ?
> TIA
>
> -------
>
> [xste@klinux kdenox]$
> ./xconfigure --disable-debug --enable-shared --enable-qt-embedded \
> > --without-ssl \
> > --prefix=$PWD/../install \
> > --with-qt-dir=/home/xste/qte-3.1.2 \
> > --with-qt-includes=/home/xste/qte-3.1.2/include \
> > --with-qt-libraries=/home/xste/qte-3.1.2/lib
>
> configure: WARNING: If you wanted to set the --build type, don't
use --host.
> If a cross compiler is detected then cross compile mode will be used.
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... arm-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for -p flag to install... yes
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking for i686-pc-linux-gnu-strip... no
> checking for strip... strip
> checking for style of include used by make... GNU
> checking for i686-pc-linux-gnu-gcc... arm-linux-gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... yes
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether arm-linux-gcc accepts -g... yes
> checking dependency style of arm-linux-gcc... gcc
> checking how to run the C preprocessor... arm-linux-gcc -E
> checking for i686-pc-linux-gnu-g++... no
> checking for i686-pc-linux-gnu-c++... no
> checking for i686-pc-linux-gnu-gpp... no
> checking for i686-pc-linux-gnu-aCC... no
> checking for i686-pc-linux-gnu-CC... no
> checking for i686-pc-linux-gnu-cxx... no
> checking for i686-pc-linux-gnu-cc++... no
> checking for i686-pc-linux-gnu-cl... no
> checking for i686-pc-linux-gnu-FCC... no
> checking for i686-pc-linux-gnu-KCC... no
> checking for i686-pc-linux-gnu-RCC... no
> checking for i686-pc-linux-gnu-xlC_r... no
> checking for i686-pc-linux-gnu-xlC... no
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking whether g++ supports -Wmissing-format-attribute... yes
> checking whether g++ supports -Wundef... yes
> checking whether g++ supports -Wno-long-long... yes
> checking whether g++ supports -Wnon-virtual-dtor... yes
> checking whether g++ supports -fno-exceptions... yes
> checking whether g++ supports -fno-check-new... yes
> checking whether g++ supports -fno-common... yes
> checking whether g++ supports -fexceptions... yes
> checking how to run the C++ preprocessor... g++ -E
> checking whether g++ supports -O0... yes
> not using lib directory suffix
> checking for ld used by GCC... /usr/local/arm-linux/arm-linux/bin/ld
> checking if the linker (/usr/local/arm-linux/arm-linux/bin/ld) is GNU
ld...
> yes
> checking for /usr/local/arm-linux/arm-linux/bin/ld option to reload object
> files... -r
> checking for BSD-compatible nm... nm
> checking for a sed that does not truncate output...
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking for ANSI C header files... yes
> checking for sys/types.h... no
> checking for sys/stat.h... no
> checking for stdlib.h... no
> checking for string.h... no
> checking for memory.h... no
> checking for strings.h... no
> checking for inttypes.h... no
> checking for stdint.h... no
> checking for unistd.h... no
> checking dlfcn.h usability... no
> checking dlfcn.h presence... yes
> configure: WARNING: dlfcn.h: present but cannot be compiled
> configure: WARNING: dlfcn.h: check for missing prerequisite headers?
> configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
> checking for dlfcn.h... yes
> checking the maximum length of command line arguments... 32768
> checking command to parse nm output from arm-linux-gcc object... failed
> checking for objdir... .libs
> checking for i686-pc-linux-gnu-ranlib... no
> checking for ranlib... ranlib
> checking for i686-pc-linux-gnu-strip... strip
> checking if arm-linux-gcc static flag works... no
> checking if arm-linux-gcc supports -fno-rtti -fno-exceptions... no
> checking for arm-linux-gcc option to produce PIC... -fPIC
> checking if arm-linux-gcc PIC flag -fPIC works... no
> checking if arm-linux-gcc supports -c -o file.o... no
> checking if we can lock with hard links... yes
> checking whether the arm-linux-gcc linker
> (/usr/local/arm-linux/arm-linux/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking whether the g++ linker (/usr/local/arm-linux/arm-linux/bin/ld)
> supports shared libraries... yes
> checking for g++ option to produce PIC... -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/usr/local/arm-linux/arm-linux/bin/ld)
> supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> appending configuration tag "GCJ" to libtool
> checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
> checking for gcj option to produce PIC... -fPIC
> checking if gcj PIC flag -fPIC works... no
> checking if gcj supports -c -o file.o... no
> checking whether the gcj linker (/usr/local/arm-linux/arm-linux/bin/ld)
> supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking for extra includes... no
> checking for extra libs... no
> checking for libjpeg6b... no
> checking for libjpeg... no
> configure: WARNING:
> There is an installation error in jpeg support. You seem to have only one
> of either the headers _or_ the libraries installed. You may need to either
> provide correct --with-extra-... options, or the development package of
> libjpeg6b. You can get a source package of libjpeg from
http://www.ijg.org/
> Disabling JPEG support.
>
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for strlcat... no
> checking if strlcat needs custom prototype... yes - in libkdefakes
> checking for strlcpy... no
> checking if strlcpy needs custom prototype... yes - in libkdefakes
> checking for main in -lutil... no
> checking for main in -lcompat... no
> checking for crypt in -lcrypt... no
> checking for crypt in -lc... no
> configure: WARNING: you have no crypt in either libcrypt or libc.
> You should install libcrypt from another source or configure with PAM
> support
> checking for socklen_t... socklen_t
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for inet_ntoa... no
> checking for inet_ntoa in -lnsl... no
> checking for connect... no
> checking for connect in -lsocket... no
> checking for remove... no
> checking for remove in -lposix... no
> checking for shmat... no
> checking for shmat in -lipc... no
> checking crt_externs.h usability... no
> checking crt_externs.h presence... no
> checking for crt_externs.h... no
> checking for _NSGetEnviron... no
> checking for sys/types.h... (cached) no
> checking for stdint.h... (cached) no
> checking for poll in -lpoll... no
> checking CoreAudio/CoreAudio.h usability... no
> checking CoreAudio/CoreAudio.h presence... no
> checking for CoreAudio/CoreAudio.h... no
> checking if res_init needs -lresolv... no
> checking if res_init is available... no
> checking for killpg in -lucb... no
> checking for int... no
> checking size of int... 0
> checking for long... no
> checking size of long... 0
> checking for char *... no
> checking size of char *... 0
> checking for dlopen in -ldl... no
> checking for shl_unload in -ldld... no
> checking for size_t... no
> checking size of size_t... 0
> checking for unsigned long... no
> checking size of unsigned long... 0
> checking sizeof size_t == sizeof unsigned long... no
> configure: error:
> Apparently on your system our assumption sizeof size_t == sizeof
> unsigned long
> does not apply. Please mail kde-devel@kde.org with a description of
> your system!
>
>
From vbhat at bay-soft.com Wed Jun 18 19:18:33 2003
From: vbhat at bay-soft.com (Vinod Bhat)
Date: Wed Jun 18 20:18:33 2003
Subject: Couple of basic questions
Message-ID: <3FE34E69.1050602@bay-soft.com>
Hi,
1. Should we use qt-embedded 3.1.2(or 3.2) or 2.3.6. 2.3.6 is the
latest in 2.x branch. John Ryland from Trolltech suggested to use 2.3
branch. "lot of qt3 features have been back ported to Qt/Embedded 2.3"
sources for qt-embeded 2.3.6 can be downloaded from
ftp://ftp.trolltech.com/qtopia/source
In that case I don't have to get patches from KDE_3_x brach.
Any advice on this?
2. I am going to display the video through ffmpeg in a browser. I have
couple of options, Qtopia support ffmpeg using media plug ins. Does
Embedded konqueror has media plug in support? Can I plug in ffmpeg? Any
projects have done in this area? Any pointers are appreciated.
Thanks,
-Vinod Bhat
From MichaelMathur at attbi.com Wed Jun 18 18:06:58 2003
From: MichaelMathur at attbi.com (Michael Mathur)
Date: Thu Jun 19 15:53:21 2003
Subject: Konq embedded plugins
Message-ID: <001e01c335dd$8f222510$0c00a8c0@MathurMain>
We are looking for some help with MPEG4 plugins for Konqueror Embedded.
We are using QT Embedded as the windowing software. Looking for some
help in this regard.
Michael Mathur
BL Software Systems, Inc.
From mueller at kde.org Thu Jun 19 16:45:23 2003
From: mueller at kde.org (Dirk Mueller)
Date: Thu Jun 19 15:53:21 2003
Subject: unsecure tmp file creation
Message-ID: <20030619134523.GA21140@matrix.wg>
Hi,
konq-embed/dropin/kparts/part.cpp revision 1.8:
revision 1.8
date: 2003/02/03 15:59:21; author: montanaro; state: Exp; lines: +128 -21
Updated konq-embed to work with kdelibs v3.0
The browser, with the X11 front-end is basically working.
The addons in particular are mostly untested.
This commit introduced this code:
m_file.prepend( QString::fromLatin1( "/tmp/.konqe-part-" ) );
m_tempFile.setName( m_file );
if ( !m_tempFile.open( IO_ReadWrite ) )
which is unsecure temp file creation par excellence.
Please fix it ASAP.
--
Dirk
From tps_nbr at yahoo.co.in Mon Jun 23 14:29:59 2003
From: tps_nbr at yahoo.co.in (=?iso-8859-1?q?suneesh=20tp?=)
Date: Mon Jun 23 14:30:35 2003
Subject: Problem when "make" Konq/Emb
Message-ID: <20030623122959.737.qmail@web8202.mail.in.yahoo.com>
Hi
I have downloaded recent snapshot
konqueror-embedded-snapshot-20030516.tar.gz and I can
"configure" it well , but when making it shows the
following errors...
[root@suneesh konqueror-embedded-snapshot-20030516]#
make
make all-recursive
make[1]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516'
Making all in konq-embed
make[2]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed'
Making all in dropin
make[3]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
Making all in .
make[4]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
if /bin/sh ../../libtool --silent --mode=compile
--tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I./../kdesrc/kdecore -I./../kdesrc
-I/usr/local/kde/include
-I/root/Qt-embedded/qt-embedded-free-3.2.0b1/include
-DQWS -D_REENTRANT -I/usr/include/pcre
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2
-fno-exceptions -fno-check-new -fno-rtti
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
-MT kglobal.lo -MD -MP -MF ".deps/kglobal.Tpo" \
-c -o kglobal.lo `test -f 'kglobal.cpp' || echo
'./'`kglobal.cpp; \
then mv -f ".deps/kglobal.Tpo" ".deps/kglobal.Plo"; \
else rm -f ".deps/kglobal.Tpo"; exit 1; \
fi
In file included from kglobal.cpp:28:
../kdesrc/kdecore/kcharsets.h:74: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:81: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:111: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:111: parse error before
`=' token
../kdesrc/kdecore/kcharsets.h:151: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:151: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:159: no type `CharSet'
in `QFont'
../kdesrc/kdecore/kcharsets.h:159: parse error before
`=' token
../kdesrc/kdecore/kcharsets.h:175: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:175: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:180: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:180: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:189: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:210: no type `CharSet'
in `QFont'
../kdesrc/kdecore/kcharsets.h:210: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:217: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:217: invalid data member
initialization
../kdesrc/kdecore/kcharsets.h:217: (use `=' to
initialize static data members)
../kdesrc/kdecore/kcharsets.h:218: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:219: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:222: declaration of
`KCharsetsPrivate*QFont::d'
/root/Qt-embedded/qt-embedded-free-3.2.0b1/include/qfont.h:336:
conflicts with
previous declaration `QFontPrivate*QFont::d'
../kdesrc/kdecore/kcharsets.h:45: warning: ISO C++
forbids declaration of `
KCharsets' with no type
make[4]: *** [kglobal.lo] Error 1
make[4]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516'
make: *** [all] Error 2
[root@suneesh konqueror-embedded-snapshot-20030516]#
what can be the problem ? I am using RedHat 9.0
and Qt embedded version qt-embedded-free-3.2.0b1
.From where can I get a working version of
Konq-Embedded ?
Thanks in advance
Suneesh T P
________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
From tps_nbr at yahoo.co.in Tue Jun 24 06:23:51 2003
From: tps_nbr at yahoo.co.in (=?iso-8859-1?q?suneesh=20tp?=)
Date: Tue Jun 24 06:24:26 2003
Subject: test mail--ignore
Message-ID: <20030624042351.9089.qmail@web8202.mail.in.yahoo.com>
test mail
________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
From Paul.Chitescu at IMC-Group.org Tue Jun 24 13:27:33 2003
From: Paul.Chitescu at IMC-Group.org (Paul Chitescu)
Date: Tue Jun 24 11:26:22 2003
Subject: Problem when "make" Konq/Emb
References: <20030623122959.737.qmail@web8202.mail.in.yahoo.com>
Message-ID: <001301c33a32$d9195e00$e7b9e6c1@s40.icpe.ro>
> In file included from kglobal.cpp:28:
> ../kdesrc/kdecore/kcharsets.h:74: syntax error before
> `(' token
> [...]
>
> what can be the problem ? I am using RedHat 9.0
> and Qt embedded version qt-embedded-free-3.2.0b1
> .From where can I get a working version of
> Konq-Embedded ?
The snapshots must be compiled with Qt version 2.3.x (where x >= 1) - won't
work with Qt 3.x; if you want to use Qt-3 you need the CVS HEAD which is
based on KDE-3
BTW, I changed the web page so it cleanly states the fact above.
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
From tps_nbr at yahoo.co.in Tue Jun 24 12:55:53 2003
From: tps_nbr at yahoo.co.in (=?iso-8859-1?q?suneesh=20tp?=)
Date: Tue Jun 24 12:56:25 2003
Subject: Konq-E "make" error !!!
Message-ID: <20030624105553.50889.qmail@web8203.mail.in.yahoo.com>
Hi
I am trying to run Konq/E on Qt/E ...I am using
Redhat 9.0 and installed Qt/E from
qt-embedded-free-3.2.0b1.tar.gz and using Konq/E
snapshot
konqueror-embedded-snapshot-20030516.tar.gz .I can
configure it well enabling with qt-emb but when making
it shows the following errors..
[root@suneesh konqueror-embedded-snapshot-20030516]#
make
make all-recursive
make[1]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516'
Making all in konq-embed
make[2]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed'
Making all in dropin
make[3]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
Making all in .
make[4]: Entering directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
if /bin/sh ../../libtool --silent --mode=compile
--tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I./../kdesrc/kdecore -I./../kdesrc
-I/usr/local/kde/include
-I/root/Qt-embedded/qt-embedded-free-3.2.0b1/include
-DQWS -D_REENTRANT -I/usr/include/pcre
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2
-fno-exceptions -fno-check-new -fno-rtti
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
-MT kglobal.lo -MD -MP -MF ".deps/kglobal.Tpo" \
-c -o kglobal.lo `test -f 'kglobal.cpp' || echo
'./'`kglobal.cpp; \
then mv -f ".deps/kglobal.Tpo" ".deps/kglobal.Plo"; \
else rm -f ".deps/kglobal.Tpo"; exit 1; \
fi
In file included from kglobal.cpp:28:
../kdesrc/kdecore/kcharsets.h:74: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:81: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:111: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:111: parse error before
`=' token
../kdesrc/kdecore/kcharsets.h:151: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:151: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:159: no type `CharSet'
in `QFont'
../kdesrc/kdecore/kcharsets.h:159: parse error before
`=' token
../kdesrc/kdecore/kcharsets.h:175: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:175: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:180: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:180: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:189: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:210: no type `CharSet'
in `QFont'
../kdesrc/kdecore/kcharsets.h:210: parse error before
`)' token
../kdesrc/kdecore/kcharsets.h:217: `CharSet' is not a
member of type `QFont'
../kdesrc/kdecore/kcharsets.h:217: invalid data member
initialization
../kdesrc/kdecore/kcharsets.h:217: (use `=' to
initialize static data members)
../kdesrc/kdecore/kcharsets.h:218: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:219: syntax error before
`(' token
../kdesrc/kdecore/kcharsets.h:222: declaration of
`KCharsetsPrivate*QFont::d'
/root/Qt-embedded/qt-embedded-free-3.2.0b1/include/qfont.h:336:
conflicts with
previous declaration `QFontPrivate*QFont::d'
../kdesrc/kdecore/kcharsets.h:45: warning: ISO C++
forbids declaration of `
KCharsets' with no type
make[4]: *** [kglobal.lo] Error 1
make[4]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed/dropin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516/konq-embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/konq-embedded/konqueror-embedded-snapshot-20030516'
make: *** [all] Error 2
[root@suneesh konqueror-embedded-snapshot-20030516]#
Anyone please help me?
Thanks in advance
Suneesh
________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
From mikelima at virgilio.it Tue Jun 24 15:10:50 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Tue Jun 24 14:14:23 2003
Subject: Konq-E "make" error !!!
In-Reply-To: <20030624105553.50889.qmail@web8203.mail.in.yahoo.com>
References: <20030624105553.50889.qmail@web8203.mail.in.yahoo.com>
Message-ID: <200306241410.55084.mikelima@virgilio.it>
On Tuesday 24 June 2003 12:55, suneesh tp wrote:
> Hi
> I am trying to run Konq/E on Qt/E ...I am using
> Redhat 9.0 and installed Qt/E from
> qt-embedded-free-3.2.0b1.tar.gz and using Konq/E
> snapshot
> konqueror-embedded-snapshot-20030516.tar.gz .I can
> configure it well enabling with qt-emb but when making
> it shows the following errors..
>
For the snapshot to work, you have to use Qt2.3.
As an aside, this kind of question is getting quite common now.
Maybe the konq-embed site should state the dependencies more clearly.
Luciano
From tps_nbr at yahoo.co.in Wed Jun 25 14:43:35 2003
From: tps_nbr at yahoo.co.in (=?iso-8859-1?q?suneesh=20tp?=)
Date: Wed Jun 25 14:44:12 2003
Subject: Can't Compile Konq/E !!!!!!
Message-ID: <20030625124335.99842.qmail@web8205.mail.in.yahoo.com>
Hi
I am trying to run konq/E on Qt/E . I have
downloaded the snapshot
konqueror-embedded-snapshot-20030516.tar.gz and using
qt/E qt-2.3.2 .But I am not able to "make" it.What
else should I need to compile konq/E ? What kde
modules should I download ? From where should I get it
? Please Help me..
Thanks in advance
Suneesh
________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
From mikelima at virgilio.it Wed Jun 25 15:52:51 2003
From: mikelima at virgilio.it (Luciano Montanaro)
Date: Wed Jun 25 14:56:46 2003
Subject: Can't Compile Konq/E !!!!!!
In-Reply-To: <20030625124335.99842.qmail@web8205.mail.in.yahoo.com>
References: <20030625124335.99842.qmail@web8205.mail.in.yahoo.com>
Message-ID: <200306251452.54872.mikelima@virgilio.it>
On Wednesday 25 June 2003 14:43, suneesh tp wrote:
> Hi
> I am trying to run konq/E on Qt/E . I have
> downloaded the snapshot
> konqueror-embedded-snapshot-20030516.tar.gz and using
> qt/E qt-2.3.2 .But I am not able to "make" it.What
> else should I need to compile konq/E ? What kde
> modules should I download ? From where should I get it
> ? Please Help me..
> Thanks in advance
>
> Suneesh
As with most free or open source packages, konq-embed makes use of the
autoconf/automake tools. This means you have to enter the package directory
and run the supplied configure script, i.e.
./configure
make
make install
to see which options are available, use configure --help
Luciano
From Dan.Maupin at flukenetworks.com Wed Jun 25 10:41:22 2003
From: Dan.Maupin at flukenetworks.com (Maupin, Dan)
Date: Wed Jun 25 18:41:29 2003
Subject: Link Fails
Message-ID: <838EF00CFC5DD511BA750008C78CBA9B04A35581@EVTEXC03>
I am having a problem building the latest snapshop of Konq/E.
I am using qt-2.3.4 and qtopia-free-1.6.0
I am using the xconfigure scipt with the switches that are defined on the
Konq/E page.
When it goes to link konqueror I get an error:
/usr/lib/libdl.so: could not find symbols: Invalid operation.
Why is it trying to link in the x86 libs?
the -L directives are all to the xscale libraries.
Best Regards,
Dan
--------------------------
Danny Maupin
Senior Software Engineer
Fluke Networks Inc.
719-598-3842 x673
dmaupin@tc.fluke.com
-----------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20030625/0894ed42/attachment.htm
From Paul.Chitescu at IMC-Group.org Wed Jun 25 21:00:54 2003
From: Paul.Chitescu at IMC-Group.org (Paul Chitescu)
Date: Wed Jun 25 18:59:33 2003
Subject: Link Fails
References: <838EF00CFC5DD511BA750008C78CBA9B04A35581@EVTEXC03>
Message-ID: <01dd01c33b3b$5768c8a0$e7b9e6c1@s40.icpe.ro>
> I am using the xconfigure scipt with the switches that are defined on the
> Konq/E page.
>
> When it goes to link konqueror I get an error:
> /usr/lib/libdl.so: could not find symbols: Invalid operation.
> Why is it trying to link in the x86 libs?
>
> the -L directives are all to the xscale libraries.
>
> Best Regards,
>
> Dan
Are you using Simon's xconfigure? I tweaked it even further (at least 15
packages compile with it):
http://users.pcnet.ro/pchitescu/konq-e/xconfigure
Remember to adjust the variables near the top.
Hope this fixes it.
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
From Dan.Maupin at flukenetworks.com Wed Jun 25 11:05:06 2003
From: Dan.Maupin at flukenetworks.com (Maupin, Dan)
Date: Wed Jun 25 19:05:12 2003
Subject: Link Fails
Message-ID: <838EF00CFC5DD511BA750008C78CBA9B04A35592@EVTEXC03>
I do use the xconfigure that was updated by Simon.
-----Original Message-----
From: Paul Chitescu [mailto:Paul.Chitescu@IMC-Group.org]
Sent: Wednesday, June 25, 2003 11:01 AM
To: For discussion of Konqueror/Embedded
Subject: Re: Link Fails
> I am using the xconfigure scipt with the switches that are defined on the
> Konq/E page.
>
> When it goes to link konqueror I get an error:
> /usr/lib/libdl.so: could not find symbols: Invalid operation.
> Why is it trying to link in the x86 libs?
>
> the -L directives are all to the xscale libraries.
>
> Best Regards,
>
> Dan
Are you using Simon's xconfigure? I tweaked it even further (at least 15
packages compile with it):
http://users.pcnet.ro/pchitescu/konq-e/xconfigure
Remember to adjust the variables near the top.
Hope this fixes it.
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
_______________________________________________
konq-e mailing list
konq-e@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-e
From kentropy at libero.it Thu Jun 26 16:01:08 2003
From: kentropy at libero.it (kentropy)
Date: Thu Jun 26 14:52:47 2003
Subject: Errors building Konq-e with Qt-3.1.2
Message-ID: <000b01c33be3$539b7da0$b2e0623e@toshiba>
Hello,
I am trying to build Konqueror/embedded for ARM cpu.
Using Qt-3.1.2 and arm-linux
Following some help from Luciano, I am using the KDE_3_1_2_RELEASE
configuring it using the following command:
./configure \
--build=i386-linux --host=arm-linux \
--disable-debug --enable-shared --enable-qt-embedded --enable-embedded \
--without-ssl --disable-mt --disable-pcre \
--prefix=/home/kentropy/konqueror-e \
--enable-final \
--without-xinerama \
--with-qt-dir=/home/kentropy/qte-3.1.2 \
--with-qt-includes=/home/kentropy/qte-3.1.2/include \
--with-qt-libraries=/home/kentropy/qte-3.1.2/lib \
--disable-selection \
--disable-bookmarks \
--with-pic \
--disable-printing \
--disable-xmlui
After configuring I bult all using make and I've the following errors:
I tried to comment or solve each error due to see if I had been able to
reach the end of the compilation but without success.
Seems that there are too many errors to solve and I am not so experienced
using Konqueror to do that.
Lines containinf [K] are added or replaced my me.
1.--------------------------
Compilation error in file ./konq-embed/kdesrc/khtml/html/html_objectimpl.cpp
In file included from libkhtmlhtml_la.all_cpp.cpp:15:
html_objectimpl.cpp: In method `class KJavaApplet *
DOM::HTMLAppletElementImpl::applet() const':
html_objectimpl.cpp:153: parse error before `*'
KJavaApplet* HTMLAppletElementImpl::applet() const
{
if (!m_render || !m_render->isApplet())
return 0L;
return NULL ; // [K](Replaced temporarly)
// return
static_cast(static_cast(m_render)->widget
())->applet();
}
2.--------------------------
The following call:
/usr/bin/dcopidl2cpp --c++-suffix cc --no-signals --no-stub khtml_iface.kidl
[K] Has been changed like this:
/usr/bin/dcopidl2cpp --c++-suffix cc --no-stub khtml_iface.kidl
3.--------------------------
In file included from libkhtml_i_la.all_cpp.cpp:2:
khtmlview.cpp: In method `void KHTMLView::closeChildDialogs()':
khtmlview.cpp:473: taking dynamic typeid of object with -fno-rtti
khtmlview.cpp:473: confused by earlier errors, bailing out
make[5]: *** [libkhtml_i_la.all_cpp.lo] Error 1
make[5]: Leaving directory
`/home/kentropy/kdesrc/kdenox/konq-embed/kdesrc/khtml'
void KHTMLView::closeChildDialogs()
How can I obtain a running Konq/e ?
Could anyone help me ?
TIA
M.C.K.
From Dan.Maupin at flukenetworks.com Wed Jun 25 10:27:25 2003
From: Dan.Maupin at flukenetworks.com (Maupin, Dan)
Date: Sat Jun 28 11:25:06 2003
Subject: Link Fails
Message-ID: <838EF00CFC5DD511BA750008C78CBA9B04A35577@EVTEXC03>
I am having a problem building the latest snapshop of Konq/E.
I am using qt-2.3.4 and qtopia-free-1.6.0
I am using the xconfigure scipt with the switches that are defined on the
Konq/E page.
When it goes to link konqueror I get an error:
/usr/lib/libdl.so: could not find symbols: Invalid operation.
Why is it trying to link in the x86 libs?
the -L directives are all to the xscale libraries.
Best Regards,
Dan
--------------------------
Danny Maupin
Senior Software Engineer
Fluke Networks Inc.
719-598-3842 x673
dmaupin@tc.fluke.com
-----------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20030625/b1cbe4a8/attachment.htm
From tps_nbr at yahoo.co.in Thu Jun 26 11:27:43 2003
From: tps_nbr at yahoo.co.in (=?iso-8859-1?q?suneesh=20tp?=)
Date: Sat Jun 28 11:25:29 2003
Subject: Konq/E on Qt/E -Error ! Please Help
Message-ID: <20030626092743.9023.qmail@web8206.mail.in.yahoo.com>
Hi
Thank you for replying..I am trying konq/emb for
qt/emb in frame buffer.I have enabled frame buffer and
I can run qt-examples in my frame buffer.Now I am
trying to get the Konqeror/E working on this frame
buffer.So I downloaded the latest snapshot
konqueror-embedded-snapshot-20030516.tar.gz and my
Qt/Embedded version is qt-2.3.2. The configure script
is working well when I given
./configure --enable-qt-embedded
After that when I typed "make" it is showing some
error related to some kdelibs library files.I am
attaching the configure and make output I got.Should I
download any kdelibs or anything related to work this
? Please help me
Thanks in Advance
Suneesh
________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Configure_and_make
Type: application/octet-stream
Size: 72659 bytes
Desc: Configure_and_make
Url : http://mail.kde.org/pipermail/konq-e/attachments/20030626/d317ff08/Configure_and_make-0001.obj
From owner at bugs.kde.org Fri Jun 27 01:14:03 2003
From: owner at bugs.kde.org (owner@bugs.kde.org)
Date: Sat Jun 28 11:25:30 2003
Subject: [Bug 29420] large jpeg files cause konq-e to hang, due to running
out of memory.
Message-ID: <20030627001403.4295.qmail@ktown.kde.org>
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=29420
jgreenhalgh@opendoorsoftware.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |y.glodt@vo.lu
------- Additional Comments From jgreenhalgh@opendoorsoftware.com 2003-06-27 02:14 -------
*** Bug 26314 has been marked as a duplicate of this bug. ***