! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Missing 'ltmain.sh'
Status:
RESOLVED: FIXED
Product:
Xfce4-dev-tools
Component:
General

Comments

Description Peter de Ridder editbugs 2011-12-10 00:57:52 CET
Created attachment 4017 
Run libtoolize on fallback and check for LT_INIT

Most of the component in git use LT_PREREQ and LT_INIT now.
The git version of xfce4-dev-tools supports this.

But autogen.sh on a clean git clone with an old xdt-autogen doesn't run libtilize, yet.
This is not a problem, since they need to use the git version of xfce4-dev-tools.
But the same problem exists for xfce4-dev-tools.

If you have either an old xdt-autogen or none at all. autogen.sh on a clean git clone of xfce4-dev-tools won't run libtoolize and mis ltmain.sh for that reason.

The attached patch solves this problem when you don't have a xdt-autogen at all.
(the patch also includes a changed check for LT_INIT instead of LT_PREREQ, since LT_INIT is mandatory, where LT_PREREQ isn't)

To solve the problem when you have an old xdt-autogen.
You should either remove that file first.
Or we should always run the fallback commands in autogen.sh for the xfce4-dev-tools.
Why would it be better to run xdt-autogen on xfce4-dev-tools instead of the commands we know it will run?
Comment 1 Nick Schermer editbugs 2011-12-10 12:29:49 CET
I fix that that in xdt, but I keep the LT_PREREQ check, it's wise to set a minimum version and this way we enforce that.

Bug #8235

Reported by:
Peter de Ridder
Reported on: 2011-12-10
Last modified on: 2011-12-10

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

Run libtoolize on fallback and check for LT_INIT (740 bytes, application/octet-stream)
2011-12-10 00:57 CET , Peter de Ridder
no flags

Additional information