Re: [Fink-users] libctl cannot installed while MEEP

2017-07-07 Thread Martin Costabel

On 7/07/17 12:54, Hanspeter Niederstrasser wrote:
[]
This has been fixed in CVS. The versioning is back to guile-2.0-config 
etc, and I was able to build libctl with the latest guile packaging.


Confirmed. Thanks.

--
Martin


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libctl cannot installed while MEEP

2017-07-07 Thread Hanspeter Niederstrasser

On 7/6/17 8:09 AM, Martin Costabel wrote:

On 6/07/17 03:32, ABE Hiroshi wrote:
[]

checking for gh_eval_str in -lguile... no
checking for scm_eval_string in -lguile... no
checking if linking to guile works... no
configure: error: Guile could not be found


There is a bug in how the new guile20 names its files:

% ls /sw/bin/guile*2.0*
/sw/bin/guile-2.0/sw/bin/guile-config-2.0
/sw/bin/guile-snarf-2.0 /sw/bin/guile-tools-2.0


In particular guile-config-2.0 should be guile-2.0-config as it used to 
be in the previous version. Some parts of guile20 itself think so, too:


This has been fixed in CVS. The versioning is back to guile-2.0-config 
etc, and I was able to build libctl with the latest guile packaging.


Hanspeter

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libctl cannot installed while MEEP

2017-07-06 Thread Daniel Macks
On Thu, 6 Jul 2017 19:58:39 -0500, Hanspeter Niederstrasser  wrote:


> On 7/6/17 8:09 AM, Martin Costabel wrote:
> > 
> > There is a bug in how the new guile20 names its files:
> > 
> > % ls /sw/bin/guile*2.0*
> > /sw/bin/guile-2.0/sw/bin/guile-config-2.0
> > /sw/bin/guile-snarf-2.0 /sw/bin/guile-tools-2.0
> > 
> > In particular guile-config-2.0 should be guile-2.0-config as it used to 
> > be in the previous version. Some parts of guile20 itself think so, too:
> > 
> > % ls -l /sw/share/guile/2.0/scripts/binoverride
> > total 32
> > lrwxr-xr-x  1 root  admin  17 Jul  6 14:20 guile -> /sw/bin/guile-2.0
> > lrwxr-xr-x  1 root  admin  24 Jul  6 14:20 guile-config -> 
> > /sw/bin/guile-2.0-config
> > lrwxr-xr-x  1 root  admin  23 Jul  6 14:20 guile-snarf -> 
> > /sw/bin/guile-2.0-snarf
> > lrwxr-xr-x  1 root  admin  23 Jul  6 14:20 guile-tools -> 
> > /sw/bin/guile-2.0-tools
> > 
> > Thus packages that use this binoverridemechanism (which may well be 
> > outdated, but wasn't broken until recently) cannot find guile-config and 
> > will fail.
> > 
> > I am not sure who feels responsible for the guile20 package nowadays.
> 
> The change from guile-2.0-config to guile-config-2.0 is my fault.  When 
> 2.0.14 was released, I noticed that %p/bin/guild (already present in 
> 2.0.12) was not versioned using the --program-transform-name in 
> ./configure [1].  But the alternative flag --program-suffix did version 
> everything in %p/bin [2]. So I updated the guile20.info to use the 
> --program-suffix flag. However, I did not notice that the placing of the 
> -2.0 token changed, and this broke the symlinks in binoverride.
> 
> [1] http://paste.lisp.org/display/350172
> [2]  
> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.9-libcxx/stable/main/finkinfo/languages/guile20.info?r1=1.3&r2=1.4
> 
> At the time, I decided to not just manually rename bin/guild to 
> bin/guild-2.0 because I was not sure if there was any code directed to 
> the actual file name or if it was just a file rename (guile-2.0-tools 
> points to the unversioned guild in the 2.0.12 deb).
> 
> So the options are to
> 1) return to the old file names/configure flag and manually versionize 
> guild (and fix the bin/guile-2.0-tools symlink), or
> 2) fix our unversioned symlinks in binoverride to point to the new 
> guil*-2.0 names in %p/bin.
> 
> I don't know which is better for guile functionality.
How about going back to --program-transform-name but having it also act on 
bin/guild? That way we can have #1 (which is consistent with guile18) but have 
it done by the native build system (in case it does more than just a simple 
file rename). Something like:

--program-transform-name="s|guile|guile-2.0|g; s|guild|guild-2.0|g"

The rev-up (for whatever solution is chosen) would be also be a good chance to 
switch guile20 to readline7.

 dan

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libctl cannot installed while MEEP

2017-07-06 Thread Hanspeter Niederstrasser

On 7/6/17 8:09 AM, Martin Costabel wrote:

On 6/07/17 03:32, ABE Hiroshi wrote:
[]

checking for gh_eval_str in -lguile... no
checking for scm_eval_string in -lguile... no
checking if linking to guile works... no
configure: error: Guile could not be found


There is a bug in how the new guile20 names its files:

% ls /sw/bin/guile*2.0*
/sw/bin/guile-2.0/sw/bin/guile-config-2.0
/sw/bin/guile-snarf-2.0 /sw/bin/guile-tools-2.0


In particular guile-config-2.0 should be guile-2.0-config as it used to 
be in the previous version. Some parts of guile20 itself think so, too:


% ls -l /sw/share/guile/2.0/scripts/binoverride
total 32
lrwxr-xr-x  1 root  admin  17 Jul  6 14:20 guile -> /sw/bin/guile-2.0
lrwxr-xr-x  1 root  admin  24 Jul  6 14:20 guile-config -> 
/sw/bin/guile-2.0-config
lrwxr-xr-x  1 root  admin  23 Jul  6 14:20 guile-snarf -> 
/sw/bin/guile-2.0-snarf
lrwxr-xr-x  1 root  admin  23 Jul  6 14:20 guile-tools -> 
/sw/bin/guile-2.0-tools


Thus packages that use this binoverridemechanism (which may well be 
outdated, but wasn't broken until recently) cannot find guile-config and 
will fail.


I am not sure who feels responsible for the guile20 package nowadays.


The change from guile-2.0-config to guile-config-2.0 is my fault.  When 
2.0.14 was released, I noticed that %p/bin/guild (already present in 
2.0.12) was not versioned using the --program-transform-name in 
./configure [1].  But the alternative flag --program-suffix did version 
everything in %p/bin [2]. So I updated the guile20.info to use the 
--program-suffix flag. However, I did not notice that the placing of the 
-2.0 token changed, and this broke the symlinks in binoverride.


[1] http://paste.lisp.org/display/350172
[2] 
http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.9-libcxx/stable/main/finkinfo/languages/guile20.info?r1=1.3&r2=1.4


At the time, I decided to not just manually rename bin/guild to 
bin/guild-2.0 because I was not sure if there was any code directed to 
the actual file name or if it was just a file rename (guile-2.0-tools 
points to the unversioned guild in the 2.0.12 deb).


So the options are to
1) return to the old file names/configure flag and manually versionize 
guild (and fix the bin/guile-2.0-tools symlink), or
2) fix our unversioned symlinks in binoverride to point to the new 
guil*-2.0 names in %p/bin.


I don't know which is better for guile functionality.

Hanspeter

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libctl cannot installed while MEEP

2017-07-06 Thread Martin Costabel

On 6/07/17 03:32, ABE Hiroshi wrote:
[]

checking for gh_eval_str in -lguile... no
checking for scm_eval_string in -lguile... no
checking if linking to guile works... no
configure: error: Guile could not be found


There is a bug in how the new guile20 names its files:

% ls /sw/bin/guile*2.0*
/sw/bin/guile-2.0		/sw/bin/guile-config-2.0	/sw/bin/guile-snarf-2.0	 
/sw/bin/guile-tools-2.0


In particular guile-config-2.0 should be guile-2.0-config as it used to 
be in the previous version. Some parts of guile20 itself think so, too:


% ls -l /sw/share/guile/2.0/scripts/binoverride
total 32
lrwxr-xr-x  1 root  admin  17 Jul  6 14:20 guile -> /sw/bin/guile-2.0
lrwxr-xr-x  1 root  admin  24 Jul  6 14:20 guile-config -> 
/sw/bin/guile-2.0-config
lrwxr-xr-x  1 root  admin  23 Jul  6 14:20 guile-snarf -> 
/sw/bin/guile-2.0-snarf
lrwxr-xr-x  1 root  admin  23 Jul  6 14:20 guile-tools -> 
/sw/bin/guile-2.0-tools


Thus packages that use this binoverride	mechanism (which may well be 
outdated, but wasn't broken until recently) cannot find guile-config and 
will fail.


I am not sure who feels responsible for the guile20 package nowadays.

--
Martin


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libctl cannot installed while MEEP

2017-07-05 Thread ABE Hiroshi
I’m looking into the situation.

libctl needs guile-2.0 but the configure looking for lib guile.dylib as Dr. 
Hansen mentioned. And also looking for gh.h.
I guess these files should belong to guile-1. The header file doesn’t exist in 
guile-2.0 package anymore.

Maybe some version conflict occurs in the release.

2017/07/06 9:19、Alexander Hansen  のメール:

> 
>> On Jul 5, 2017, at 16:39, ABE Hiroshi  wrote:
>> 
>> Hi,
>> 
>> First of all, I would be grateful for Fink project.
>> 
>> I’m about to install MEEP but I found an error occurs at installing “libctl”.
>> The messages are enclosed in the bottom of this mail. 
>> 
>> It claims guile not found but
>> 
>> % fink list guile
>> i   guile181.8.8-10  Embedable Scheme interpreter
>>guile18-dev1.8.8-10  Development package for guile18
>>guile18-doc1.8.8-10  Texinfo files for guile18
>>guile18-gtk2.1-19Glue code to link gtk to guile
>>guile18-gtk-dev2.1-19Glue code to link gtk to guile
>>guile18-gtk-doc2.1-19Texinfo documentation files for 
>> guile18-gtk
>>guile18-gtk-shlibs 2.1-19Glue code to link gtk to guile
>>guile18-gui0.2-1006  Guile gui scheme code
>>guile18-lib0.1.6-2   Repository of code written in 
>> Guile Scheme
>> i   guile18-libs   1.8.8-10  Scheme libraries and modules 
>> for guile18
>> i   guile18-shlibs 1.8.8-10  Shared libraries for guile18
>> i   guile202.0.14-1  Embedable Scheme interpreter
>> i   guile20-dev2.0.14-1  Development package for guile20
>>guile20-doc2.0.14-1  Texinfo files for guile20
>> i   guile20-libs   2.0.14-1  Scheme libraries and modules 
>> for guile20
>> i   guile20-shlibs 2.0.14-1  Shared libraries for guile20
>>guile222.2.2-1   Embedable Scheme interpreter
>>guile22-dev2.2.2-1   Development package for guile22
>>guile22-doc2.2.2-1   Texinfo files for guile22
>>guile22-libs   2.2.2-1   Scheme libraries and modules for 
>> guile22
>>guile22-shlibs 2.2.2-1   Shared libraries for guile22
>> 
>> My env is MacOS X 10.9.5, Helps and suggestions are really appreciated. 
>> Thank you.
>> 
>> Hiroshi ABE
>> 
>> ### The Error Messages ###
>> 
>> % fink update libctl
>> Information about 10515 packages read in 0 seconds.
>> The following package will be installed or updated:
>> libctl
>> Setting runtime build-lock...
>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libctl-3.2.2-2 
>> /sw/src/fink.build
>> dpkg-deb: building package `fink-buildlock-libctl-3.2.2-2' in 
>> `/sw/src/fink.build/fink-buildlock-libctl-3.2.2-2_2017.07.05-18.04.20_darwin-x86_64.deb'.
>> Installing build-lock package...
>> /sw/bin/dpkg-lockwait -i 
>> /sw/src/fink.build/fink-buildlock-libctl-3.2.2-2_2017.07.05-18.04.20_darwin-x86_64.deb
>> Selecting previously deselected package fink-buildlock-libctl-3.2.2-2.
>> (Reading database ... 317784 files and directories currently installed.)
>> Unpacking fink-buildlock-libctl-3.2.2-2 (from 
>> .../fink-buildlock-libctl-3.2.2-2_2017.07.05-18.04.20_darwin-x86_64.deb) ...
>> Setting up fink-buildlock-libctl-3.2.2-2 (2017.07.05-18.04.20) ...
>> 
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.DbbAN
>> env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xf 
>> /sw/src/libctl-3.2.2.tar.gz
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.oKeid
>> /tmp/fink.TfuxD
>> #!/bin/sh -ev
>> export PATH=/sw/share/guile/2.0/scripts/binoverride:$PATH
>> ./configure --prefix=/sw --mandir=/sw/share/man F77=gfortran-fsf-5 
>> CC=gcc-fsf-5
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... ./install-sh -c -d
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether make supports nested variables... yes
>> checking build system type... x86_64-apple-darwin13.4.0
>> checking host system type... x86_64-apple-darwin13.4.0
>> checking how to print strings... printf
>> checking for style of include used by make... GNU
>> checking for gcc... gcc-fsf-5
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables... 
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc-fsf-5 accepts -g... yes
>> checking for gcc-fsf-5 option to accept ISO C89... none needed
>> checking whether gcc-fsf-5 understands -c and -o together... yes
>> checking dependency style of 

Re: [Fink-users] libctl cannot installed while MEEP

2017-07-05 Thread Alexander Hansen

> On Jul 5, 2017, at 16:39, ABE Hiroshi  wrote:
> 
> Hi,
> 
> First of all, I would be grateful for Fink project.
> 
> I’m about to install MEEP but I found an error occurs at installing “libctl”.
> The messages are enclosed in the bottom of this mail. 
> 
> It claims guile not found but
> 
> % fink list guile
> i   guile181.8.8-10  Embedable Scheme interpreter
> guile18-dev1.8.8-10  Development package for guile18
> guile18-doc1.8.8-10  Texinfo files for guile18
> guile18-gtk2.1-19Glue code to link gtk to guile
> guile18-gtk-dev2.1-19Glue code to link gtk to guile
> guile18-gtk-doc2.1-19Texinfo documentation files for 
> guile18-gtk
> guile18-gtk-shlibs 2.1-19Glue code to link gtk to guile
> guile18-gui0.2-1006  Guile gui scheme code
> guile18-lib0.1.6-2   Repository of code written in 
> Guile Scheme
> i   guile18-libs   1.8.8-10  Scheme libraries and modules for 
> guile18
> i   guile18-shlibs 1.8.8-10  Shared libraries for guile18
> i   guile202.0.14-1  Embedable Scheme interpreter
> i   guile20-dev2.0.14-1  Development package for guile20
> guile20-doc2.0.14-1  Texinfo files for guile20
> i   guile20-libs   2.0.14-1  Scheme libraries and modules for 
> guile20
> i   guile20-shlibs 2.0.14-1  Shared libraries for guile20
> guile222.2.2-1   Embedable Scheme interpreter
> guile22-dev2.2.2-1   Development package for guile22
> guile22-doc2.2.2-1   Texinfo files for guile22
> guile22-libs   2.2.2-1   Scheme libraries and modules for 
> guile22
> guile22-shlibs 2.2.2-1   Shared libraries for guile22
> 
> My env is MacOS X 10.9.5, Helps and suggestions are really appreciated. Thank 
> you.
> 
> Hiroshi ABE
> 
> ### The Error Messages ###
> 
> % fink update libctl
> Information about 10515 packages read in 0 seconds.
> The following package will be installed or updated:
> libctl
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libctl-3.2.2-2 
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-libctl-3.2.2-2' in 
> `/sw/src/fink.build/fink-buildlock-libctl-3.2.2-2_2017.07.05-18.04.20_darwin-x86_64.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-libctl-3.2.2-2_2017.07.05-18.04.20_darwin-x86_64.deb
> Selecting previously deselected package fink-buildlock-libctl-3.2.2-2.
> (Reading database ... 317784 files and directories currently installed.)
> Unpacking fink-buildlock-libctl-3.2.2-2 (from 
> .../fink-buildlock-libctl-3.2.2-2_2017.07.05-18.04.20_darwin-x86_64.deb) ...
> Setting up fink-buildlock-libctl-3.2.2-2 (2017.07.05-18.04.20) ...
> 
> sudo -u fink-bld [ENV] sh -c /tmp/fink.DbbAN
> env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xf 
> /sw/src/libctl-3.2.2.tar.gz
> sudo -u fink-bld [ENV] sh -c /tmp/fink.oKeid
> /tmp/fink.TfuxD
> #!/bin/sh -ev
> export PATH=/sw/share/guile/2.0/scripts/binoverride:$PATH
> ./configure --prefix=/sw --mandir=/sw/share/man F77=gfortran-fsf-5 
> CC=gcc-fsf-5
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking build system type... x86_64-apple-darwin13.4.0
> checking host system type... x86_64-apple-darwin13.4.0
> checking how to print strings... printf
> checking for style of include used by make... GNU
> checking for gcc... gcc-fsf-5
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc-fsf-5 accepts -g... yes
> checking for gcc-fsf-5 option to accept ISO C89... none needed
> checking whether gcc-fsf-5 understands -c and -o together... yes
> checking dependency style of gcc-fsf-5... gcc3
> checking for a sed that does not truncate output... /sw/bin/sed
> checking for grep that handles long lines and -e... /sw/bin/grep
> checking for egrep... /sw/bin/grep -E
> checking for fgrep... /sw/bin/grep -F
> checking for ld used by gcc-fsf-5... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
> checking the name lister (/usr/