giellalt / bugzilla-dummy

0 stars 0 forks source link

configure does not find correct saxon (Bugzilla Bug 2100) #1621

Closed albbas closed 8 years ago

albbas commented 8 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 2100

Date: 2015-11-06T11:17:34+01:00 From: Børre Gaup <> To: Sjur Nørstebø Moshagen <> CC: ciprian.gerstenberger, lene.antonsen, sjur.n.moshagen, thomas.omma, trond.trosterud

Last updated: 2015-11-11T10:53:08+01:00

albbas commented 8 years ago

Comment 10823

Date: 2015-11-06 11:17:34 +0100 From: Børre Gaup <>

This problem manifests itself on stallo, where a newer version of saxon can't be installed in /usr or /opt without help from already overworked sysadmins.

The problem is that an older version of saxon is found /usr/share. The version of it is checked and found to be too old.

After that configure does not look for saxon in $HOME/lib, where current versions of saxon exist.

It seems that configure looks for saxon in this order: /opt/local /usr $HOME/lib

The order should be $HOME/lib/ /opt/local /usr

Here are relevant messages from configure in $GTHOME/langs/sms on stallo

checking for /opt/local/share/java/saxon9he.jar... no checking for /usr/share/java/Saxon-HE.jar... no checking for /usr/share/java/saxon.jar... yes checking whether the Saxon JAR is at least 8.0... no - 6.5.5 checking whether we can enable xslt2 transformations... no

configure: WARNING: You have XML source files, but XML transformation to LexC is disabled. Please check the output of configure to locate any problems.

This is the content if $HOME/lib $ ls $HOME/lib libcg3.a pkgconfig saxonb-9.1.0.8.jar saxonb-xpath.jar libcg3.so saxon9he.jar saxonb.jar saxon.jar

albbas commented 8 years ago

Comment 10824

Date: 2015-11-06 11:19:27 +0100 From: Børre Gaup <>

This bug is variant of http://giellatekno.uit.no/bugzilla/show_bug.cgi?id=2080

albbas commented 8 years ago

Comment 10837

Date: 2015-11-11 00:18:43 +0100 From: Børre Gaup <>

langtech r124937 makes sms compilation on stallo work