Archive for December, 2008

Posted by kent at 9 December 2008

Category: Dev, Tip

Tags: , , , , ,

After being puzzled by this error for some time, I finally was able to solve it with lots of help from my friend Simeon. GTK+ ./configure failed both on emerge gtk+ and on a manual source build with these errors.

configure:33559: gcc -o conftest -g -O2 -Wall -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1       conftest.c -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderFindStandardFormat'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XMissingExtension'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderQuerySubpixelOrder'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XextRemoveDisplay'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderSetPictureFilter'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeTrapezoids'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeText32'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XextFindDisplay'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeText16'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderCompositeText8'
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXrender.so.1: undefined reference to `XextAddDisplay'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libcairo.so: undefined reference to `XRenderSetPictureTransform'
collect2: ld returned 1 exit status
configure:33566: $? = 1

While installing cairo, I got these warnings:

/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXxf86vm.so.1 is not a symbolic link
/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXxf86misc.so.1 is not a symbolic link
/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXxf86dga.so.1 is not a symbolic link
/sbin/ldconfig: /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/libXv.so.1 is not a symbolic link
...

I found this:

grep -R VMHANDLE /etc/
/etc/csh.env:setenv VMHANDLE 'blackdown-jdk-1.4.2'
/etc/env.d/20java:VMHANDLE=blackdown-jdk-1.4.2
/etc/profile.env:export VMHANDLE='blackdown-jdk-1.4.2'
/etc/profile.csh:setenv VMHANDLE 'blackdown-jdk-1.4.2'

Opened up /etc/env.d/20java and commented everything. Then I did:

env-update
source /etc/profile

And I did:

emerge -av cairo gtk+

Which resulted in GTK+ being correctly configured, compiled, linked and installed!

VN:F [1.9.13_1145]
Rating: 5.0/5 (1 vote cast)
Share

Posted by kent at 1 December 2008

Category: Ikke interessant

Tags: , , , ,

I just bought myself a shiny new GPS yesterday, the choice was hard, but it was Garmin who picked the longest straw. The other competitors was Mio and TomTom.

Garmin nüvi 765T

Garmin nüvi 765T

I’ve had it out for a few testdrives here in Oslo. It had all the roads I were driving and it easily managed to calculate new routes when I turned right when I’ve should have gone straight forward or left.

The display is large and colorful, but the touchscreen is somewhat slow when I try to scroll the map or rotate the map. It’s 3D view of buildings is ok, but it isn’t exactly the latest FarCry2 engine. While driving you want to keep your eyes on the road, not on the 3D buildings, so it doesn’t really matter.

It has lots of Points of Interest (POI), though I’ve only checked some major ones. There are lots of restaurants, bars and gas stations on the map. Big plus for having both IKEAs in Oslo available as a POI! :)

The second time I were out driving wasn’t that cheerful. It’s live traffic alarm wasn’t spot on. In fact, it didn’t get anything right. One place it marked a whole section of the road as road work with a 2 minute delay, but there were none. It also guided me through the busy parts of the city with mostly red traffic lights at every intersection. As a “bonus”, as I might call it, it literally died upon me. Luckily I was familiar in the area so I managed to get home on my own. My wife tried to revive the GPS by holding the off button pressed for a long time. It didn’t respond. It displayed the map from where it froze. When I got home it finally could be revived by pressing the off button for 5 seconds. A big disappointment!

When I’m more familiar with this unit, I’ll post an updated review.

VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)
Share