Sean Boudreau(deleted)
|
Re: Actual progress - now on gtk itself
|
Sean Boudreau(deleted)
04/02/2008 2:29 PM
post6392
|
Re: Actual progress - now on gtk itself
On Wed, Apr 02, 2008 at 02:19:19PM -0400, Lukasz Popowski wrote:
> Christian,
>
> Did you succeed in building gtk finally? I'm trying to build in now, and I encountered error when building libX11
package:
>
> "checking dependency style of qcc... (cached) gcc3
> checking for cpp... no
> checking for ucpp... no
> checking if qcc -E requires -undef... cc: no files to process
> cc: unknown option: '-undef'
> configure: error: qcc -E defines unix with or without -undef. I don't know what to do.
> *** Error code 1
>
> Stop.
> bmake: stopped in /root/thisone/HEAD/pkgsrc/x11/libX11
> WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
> WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
> *** Error code 1
>
> Stop.
> bmake: stopped in /root/thisone/HEAD/pkgsrc/x11/libX11"
>
> I've tried to add USE_LANGUAGES+= c++ in the usr/pkg/etc/mk.conf file. What can be done to build this package? Thanks
for any advice.
This is another gcc vs qcc issue. cpp (the gcc preprocessor)
can take a file on its stdin. I'm trying to get cpp included
in 6.4 (PR 56006).
-seanb
|
|
|
Christian Leutloff
|
Re: Actual progress - now on gtk itself
|
Christian Leutloff
04/03/2008 4:11 AM
post6411
|
Re: Actual progress - now on gtk itself
Hi,
> Did you succeed in building gtk finally?
yes, it does build later on. I was able to successfully this package
/usr/pkgsrc/packages/All/gtk2+-2.12.0nb1.tgz
The required changes are all in the svn repository (and you are using them)
> I'm trying to build in now, and I
> encountered error when building libX11 package:
>
> "checking dependency style of qcc... (cached) gcc3
> checking for cpp... no
> checking for ucpp... no
this test is my addition. Install the package ucpp and the build will succeed.
> checking if qcc -E requires -undef... cc: no files to process
> cc: unknown option: '-undef'
> configure: error: qcc -E defines unix with or without -undef. I don't know
> what to do.
> *** Error code 1
>
> Stop.
> bmake: stopped in /root/thisone/HEAD/pkgsrc/x11/libX11
> WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
> Makefile.
> WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package
> Makefile.
> *** Error code 1
>
> Stop.
> bmake: stopped in /root/thisone/HEAD/pkgsrc/x11/libX11"
>
> I've tried to add USE_LANGUAGES+= c++ in the usr/pkg/etc/mk.conf file. What
> can be done to build this package? Thanks for any advice.
BUT I was not able to get any gtk example running 8-( Here are my findings:
You will at least need an X server. I used the old one from QNX 6.2. This way I got the example app from pango up and
running.
In the newer Xfree86 releases the Xphoton server has been dropped. You will find the old X server code in the xfree86
repository in an Attic directory. Therefore the Xorg code does not have any QNX related server, too. At this point I
stopped my work on the gtk side of pkgsrc. I am not able to revive the Xphoton server in Xorg (both from knowledge and
time frame side).
I would love to see pygtk working on QNX. This would provide the users of QNX with a portable RAD solution. The
interface from python to the real-time applications is easily done with the boost::python library. Python does already a
perfect job without a GUI, but having pygtk working would be a really big plus.
I hope that QNX will revive the Xphoton server and move it to an up to date Xorg release.
Bye
Christian
|
|
|