Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

config-site.noZbinfiles works with some projects, not with others?

1 view
Skip to first unread message

Mentore Siesto

unread,
Apr 23, 2011, 11:25:15 AM4/23/11
to
Hello all, it's me again bothering with strange problems :(

This time I'm observing a rather frequent problem in configure script.

Here's the configure output:

configure: loading site script u:/moztools/config.site-nozbinfiles
function: not found
builtin: not found
configure: error: in `U:/progetti/libspectrum-1.0.0':
configure: error: failed to load site script
u:/moztools/config.site-nozbinfiles

See `config.log' for more details

config-site.nozbinfiles is pointed by configuration files and in most
cases works without problems.

I just can't understand why sometimes configure seems unable to load
it. Note however, that I was able to build and install an old release
of libspectrum, using the same build environment.

This puzzles me... It seems there's something wrong, but I don't have
a clue for it.

--
Mentore Siesto

Mentore Siesto

unread,
May 26, 2012, 5:08:56 AM5/26/12
to
Il giorno Sat, 23 Apr 2011 15:25:15 UTC, "Mentore Siesto"
<mentor...@fattimiei.zx> ha scritto:

> configure: error: failed to load site script
> u:/moztools/config.site-nozbinfiles

After long time without this problem I found that the only solution
seems to be setting the CONFIG_SITE environment variable to (null) and
copying directly the contents of config.site on top of configure,
right after the #!sh row (and omitting the starting "#!sh" and last
rows of config.site itself).

config.site-nozbinfiles contains definitions and tests which configure
needs to work properly, so if omitted, configure generally aborts with
error (like sed not found and similar).

I can't be sure this is the best solution, nor if it really works
correctly (it seems so, but with the projects I'm working on configure
aborts with other errors), but it sure seems the way to go.

--
Mentore Siesto

Dave Yeo

unread,
May 26, 2012, 12:27:36 PM5/26/12
to
I believe you can copy it to config.cache as well. Probably you just
need a subset of config.site, namely the .exe stuff (can't think of the
macroname right now)
Dave

Mentore Siesto

unread,
May 26, 2012, 2:24:18 PM5/26/12
to
Il giorno Sat, 26 May 2012 16:27:36 UTC, Dave Yeo
<dave....@gmail.com> ha scritto:
Yes it is so. Didn't know anything about config.cache until now, and
surely I'll try to find the relevant parts of config.site (the
variables it exports and some other things).

Currently, many configure scripts abort with a really strange error
like

configure..lineno: <row> : Syntax error: "!" unexpected

and there's no "!" on the row pointed. There's something strange I
must fix.

Mentore

Dave Yeo

unread,
May 26, 2012, 7:23:29 PM5/26/12
to
Mentore Siesto wrote:
>> I believe you can copy it to config.cache as well. Probably you just
>> > need a subset of config.site, namely the .exe stuff (can't think of the
>> > macroname right now)
>> > Dave
> Yes it is so. Didn't know anything about config.cache until now, and
> surely I'll try to find the relevant parts of config.site (the
> variables it exports and some other things).

You probably need ac_executable_extensions=.exe and depending on the
version of autoconf that was used, perhaps the sed command that changes
\ to / in the path.
Dave
0 new messages