[schilytools] [RELEASE] 2023-01-12

Dennis Clarke dclarke at blastwave.org
Mon Jan 16 14:47:30 CET 2023


On 1/16/23 08:44, Nico Sonack wrote:
> On Mon, Jan 16, 2023 at 08:36:31AM -0500, Dennis Clarke via schilytools wrote:
>> On 1/16/23 08:25, Nico Sonack wrote:
>>> On Mon, Jan 16, 2023 at 08:13:36AM -0500, Dennis Clarke via schilytools wrote:
>>>> On 1/12/23 09:33, Robert Clausecker wrote:
>>>>> Dear schilytools users,
>>>>>
>>>> configure: error: installation or configuration problem: C compiler
>>>> cannot creat
>>>> e executables.
>>>
>>> Looks like your compiler options (either in the environment or as given by
>>> the configure script) are broken. Check psmake/config.log.
>>>
>>> Nico
>>>
>>>
>>
>>
>> pollux # cat  config.log
>> This file contains any messages produced by compilers while
>> running configure, to aid debugging if configure makes a mistake.
>>
>> configure:1221: checking whether the C compiler (gcc  ) works
>> configure:1247: gcc -o conftest   conftest.c  -liconv 1>&5
>> ld: fatal: library -liconv: not found
>> ld: fatal: file processing errors. No output written to conftest
>> collect2: error: ld returned 1 exit status
>> configure: failed program was:
>>
>> #line 1242 "configure"
>> #include "confdefs.h"
>>
>> int main(){return(0);}
>> pollux #
>>
> 
> Unset LIBS in your environment. It's used internally by autoconf
> to keep track of libraries. By setting it you're messing it up
> because it doesn't know where to search for the libraries. Also, I
> believe during the bootstrap of smake you don't need libiconv.
> 
> Hope that solves the problem.
> 

This is baffling ... because I was following your notes from a build
last week. Where we did use the LIBS and the new fangled LDOPTX thing.

Regardless ... this should just build with bone stock Solaris 10.
However this is the wrong compiler. In my opinion. I have the Sun Studio
stuff around somewhere as well as the Java JDK that it needs. More work
than I care to do on a Monday morning sorting that out :)


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional


More information about the schilytools mailing list