Error building gnucash 1.8.12 on OpenSuSE 10.0
Christian Stimming
stimming at tuhh.de
Thu Oct 20 10:45:04 EDT 2005
As it turns out, the described workaround is still correct, even for
OpenSuSE 10.0. In this particular case, ./configure was invoked from a
rpm spec file, which specified additionally the arguments ./configure
--host=i686-suse-linux --build=i686-suse-linux --target=i686-suse-linux.
This is the target name which is not supported by the shipped configure
and needs to be overridden by the --build=i686-pc-linux-gnu.
However, when Christian Rauch added --build=i686-pc-linux-gnu, then the
--build and --host/target were different, so there was an error message
about "cross compiling". The final workaround for this particular case
where build, host, target are all given, is to use all three with the
working target name:
./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-pc-linux-gnu
For all normal users that do not deal with a rpm spec file, the described
./configure --build=i686-pc-linux-gnu
is still sufficient.
Christian
Rauch Christian schrieb:
> Christian Stimming schrieb:
>
>> Dear Christian,
>>
>> Rauch Christian schrieb:
>>
>>>> ./configure --build=i686-pc-linux-gnu
>>>
>>>
>>> if building with this argument i get the following error:
>>> checking if scanf supports %lld conversions... configure: error:
>>> cannot run test program while cross compiling
>>
>>
>> That's bad. That was the known workaround for SuSE 9.3, 9.2, and 9.1.
>>
> I know.
>
>>> i get the following output with and without this argument:
>>> checking dynamic linker characteristics... unknown
>>> checking if libtool supports shared libraries... no
>>> checking whether to build shared libraries... no
>>> checking whether to build static libraries... yes
>>>
>>> I am building on openSUSE 10.0 Final.
>>
>>
>>
>> As long as you get this output, gnucash won't run. You definitely
>> *have* to get the output as described on
>> http://linuxwiki.de/GnuCash/SourceInstall , which looks like
>>
>> checking dynamic linker characteristics... GNU/Linux ld.so
>> checking if libtool supports shared libraries... yes
>> checking whether to build shared libraries... yes
>> checking whether to build static libraries... no
More information about the gnucash-devel
mailing list