Re: Can't resolve dependency "gcc5-compiler" for package "octave-3.6.4-19" (no matching packages/versions found)

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 6/22/20 4:11 AM, [email protected] wrote:
> Le 2020-06-20 18:16, Hanspeter Niederstrasser a écrit :
>> On 6/20/20 9:23 AM, [email protected] wrote:
>>> Le 2020-06-15 01:56, Hanspeter Niederstrasser a écrit :
>>>> On 6/14/20 7:17 AM, [email protected] wrote:
>>>>> While trying to install octave on
>>>>>
>>>>> Package manager version: 0.45.1
>>>>> Distribution version: selfupdate-rsync Sun Jun 14 14:01:33 2020, 
>>>>> 10.15, x86_64
>>>>> Trees: local/main stable/main
>>>>> Xcode.app: 11.5
>>>>> Xcode command-line tools: 11.5.0.0.1.1588476445
>>>>> Max. Fink build jobs:  16
>>>>>
>>>>> I get
>>>>>
>>>>> Can't resolve dependency "gcc5-compiler" for package 
>>>>> "octave-3.6.4-19" (no matching packages/versions found)
>>>>>
>>>>> This block also bundle-kde4-mac.
>>>>
>>>> See https://github.com/fink/fink-distributions/pull/506 for updating
>>>> octave to work on 10.15
>>>>
>>>> Hanspeter
>>>
>>> Thanks for the answer. I have tried to change 'gcc(5)' to 'gcc(9)' 
>>> but without success.
>>
>> You can't just bump gcc(5) to gcc(10). There are other changes that
>> are needed to get octave working on 10.15. At a minimum, you need
>> these:
>>
>> https://github.com/fink/fink-distributions/blob/3d9f6901ade5d24e063b9febdda8db1ba17a22b0/10.9-libcxx/stable/main/finkinfo/sci/octave-10.15-3.8.2.info 
>>
>>
>> https://github.com/fink/fink-distributions/blob/3d9f6901ade5d24e063b9febdda8db1ba17a22b0/10.9-libcxx/stable/main/finkinfo/sci/octave-3.8.2-fortran2018.patch 
>>
>>
>> and save them to /opt/sw/fink/dists/stable/main/finkinfo/sci
>>
>> Hanspeter
> 
> With the help of
> 
> https://github.com/fink/fink-distributions/issues/461
> 
> Building octave fails with
> 
> octave.cc:51:10: fatal error: 'defaults.h' file not found
> #include "defaults.h"
>           ^~~~~~~~~~~~
> octave-value/ov-fcn-handle.cc:55:10: fatal error: 'defaults.h' file not 
> found
> #include "defaults.h"
>           ^~~~~~~~~~~~
> TIA

1) what's the actual command that failed?
Can you look earlier in your build log and search for a libtool line 
that has octave.cc in it? I see:
/bin/sh ../libtool  --tag=CXX   --mode=compile oct-cxx -DHAVE_CONFIG_H 
-I. -I..  -I../liboctave/cruft/misc -I../liboctave/array 
-I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators 
-I../liboctave/operators -I../liboctave/system -I../liboctave/util 
-I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn 
-I./corefcn -I../libgnu -I../libgnu -I/sw/include 
-I/sw/include/freetype2  -Wall -W -Wshadow -Wold-style-cast -Wformat 
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -MD 
-D_THREAD_SAFE -pthread -MT liboctinterp_la-octave.lo -MD -MP -MF 
.deps/liboctinterp_la-octave.Tpo -c -o liboctinterp_la-octave.lo `test 
-f 'octave.cc' || echo './'`octave.cc
libtool: compile:  oct-cxx -DHAVE_CONFIG_H -I. -I.. 
-I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators 
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu 
-I../libgnu -I/sw/include -I/sw/include/freetype2 -Wall -W -Wshadow 
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align 
-Wcast-qual -O3 -MD -D_THREAD_SAFE -pthread -MT 
liboctinterp_la-octave.lo -MD -MP -MF .deps/liboctinterp_la-octave.Tpo 
-c octave.cc  -fno-common -DPIC -o .libs/liboctinterp_la-octave.o


2) Also I have a line that goes "making corefcn/defaults.h from 
corefc/defaults.in.h" in my output. Is that missing in your output?

The above are from 10.13/Xcode10.1, but I see similar results with 
10.15/Xcode10.5.

Hanspeter


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.