Menu

#199 autogen-5.18.7 does not detect guile-2.2.7

autogen
closed
None
1
2020-09-14
2020-07-21
No

Hi Everyone,

I'm trying to build autogen-5.18.7 from the relase tarball. Autogen is not detecting Guile 2.2.7. Guile 2.2.7 was installed from a release tarball, too.

checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.0
configure: checking for guile 1.8
configure: error:
No Guile development packages were found.

Guile does have a *.pc file for Autogen to use:

$ cat ~/tmp/ok2delete/lib/pkgconfig/guile-2.2.pc
prefix=/home/jwalton/tmp/ok2delete
exec_prefix=${prefix}
bindir=${prefix}/bin
libdir=${prefix}/lib
includedir=${prefix}/include
datarootdir=${prefix}/share
datadir=${prefix}/share
pkgdatadir=${prefix}/share/guile
pkgincludedir=${prefix}/include/guile

sitedir=${prefix}/share/guile/site/2.2
extensiondir=${prefix}/lib/guile/2.2/extensions
siteccachedir=${prefix}/lib/guile/2.2/site-ccache
libguileinterface=5:2:4

# Actual name of the 'guile' and 'guild' programs.  This is
# particularly useful when '--program-transform-name' or similar has
# been used.
guild=${bindir}/guild
guile=${bindir}/guile

Name: GNU Guile
Description: GNU's Ubiquitous Intelligent Language for Extension
Version: 2.2.7
Libs: -L${libdir} -lguile-2.2 -lgc
Libs.private: -ldl -lpthread -lltdl -L${prefix}/lib -lffi -ldl -lpthread -lcrypt -ldl -lpthread -lm -ldl -lpthread
Cflags: -I${pkgincludedir}/2.2 -I${prefix}/include

In the test rig above, everything is installed into prefix=$HOME/tmp/ok2delete.

Related

Bugs: #199

Discussion

  • Jeffrey Walton

    Jeffrey Walton - 2020-07-21

    And regarding this Autotools output:

    Please verify that you have Guile installed.  If you installed Guile
    from a binary distribution, please verify that you have also installed
    the development packages.  If you installed it yourself, you might need
    to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
    

    Here is the environment I provide. PKG_CONFIG_PATH is set and accurate.

     AUTOCONF_BUILD: x86_64-pc-linux-gnu
    PKG_CONFIG_PATH: /home/jwalton/tmp/ok2delete/lib/pkgconfig
           CPPFLAGS: -I/home/jwalton/tmp/ok2delete/include -DNDEBUG
            ASFLAGS: -Wa,--noexecstack
             CFLAGS: -g2 -O2 -march=native -fPIC -pthread
           CXXFLAGS: -g2 -O2 -march=native -fPIC -pthread
            LDFLAGS: -L/home/jwalton/tmp/ok2delete/lib -Wl,-R,'$ORIGIN/../lib' -Wl,-R,/home/jwalton/tmp/ok2delete/lib -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,origin
             LDLIBS: -ldl -lpthread
    
     
  • Bruce Korb

    Bruce Korb - 2020-07-21

    Long ago and far away, Guile would change its interfaces or the way it
    worked even on minor releases. In response to that, I had to pre-qualify
    every Guile release. It's been stable for a number of years now, but now
    the autoconf tools have been improved to such an extent that I have to
    re-learn everything about them. I will do that eventually, but since I
    am retired, doing so doesn't fill me with excitement. Autoconf is an
    excruciatingly difficult tool to get to work right. So, for now,
    probably best to just slice out the Guile version checking until I can
    re-master Autoconf and produce a new release. Sorry about that.

    On 7/21/20 1:59 AM, Jeffrey Walton wrote:


    [bugs:#199] https://sourceforge.net/p/autogen/bugs/199/
    autogen-5.18.7 does not detect guile-2.2.7

    Status: open
    Group: autogen
    Created: Tue Jul 21, 2020 08:59 AM UTC by Jeffrey Walton
    Last Updated: Tue Jul 21, 2020 08:59 AM UTC
    Owner: nobody

    Hi Everyone,

    I'm trying to build autogen-5.18.7 from the relase tarball. Autogen is
    not detecting Guile 2.2.7. Guile 2.2.7 was installed from a release
    tarball, too.

    checking pkg-config is at least version 0.9.0...yes
    configure:checking for guile 2.0
    configure:checking for guile 1.8
    configure:error:
    No Guile development packages were found.

    Guile does have a |*.pc| file for Autogen to use:

    $cat ~/tmp/ok2delete/lib/pkgconfig/guile-2.2.pc
    prefix=/home/jwalton/tmp/ok2delete
    exec_prefix=${prefix}
    bindir=${prefix}/bin
    libdir=${prefix}/lib
    includedir=${prefix}/include
    datarootdir=${prefix}/share
    datadir=${prefix}/share
    pkgdatadir=${prefix}/share/guile
    pkgincludedir=${prefix}/include/guile

    sitedir=${prefix}/share/guile/site/2.2
    extensiondir=${prefix}/lib/guile/2.2/extensions
    siteccachedir=${prefix}/lib/guile/2.2/site-ccache
    libguileinterface=5:2:4

    Actual name of the 'guile' and 'guild' programs.This is

    particularly useful when '--program-transform-name' or similar has

    been used.

    guild=${bindir}/guild
    guile=${bindir}/guile

    Name:GNU Guile
    Description:GNU's Ubiquitous Intelligent Language for Extension
    Version:2.2.7
    Libs:-L${libdir}-lguile-2.2 -lgc
    Libs.private:-ldl -lpthread -lltdl -L${prefix}/lib -lffi -ldl -lpthread -lcrypt -ldl -lpthread -lm -ldl -lpthread
    Cflags:-I${pkgincludedir}/2.2 -I${prefix}/include

    In the test rig above, everything is installed into
    |prefix=$HOME/tmp/ok2delete|.


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/autogen/bugs/199/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #199

  • Bruce Korb

    Bruce Korb - 2020-09-14
    • status: open --> closed
    • assigned_to: Bruce Korb
     
  • Bruce Korb

    Bruce Korb - 2020-09-14

    This will be fixed in the next release with the solution for #197

     

Log in to post a comment.