Re: /bin/sh doesn't run autoconf'ied configure scripts correctly



Dag-Erling Smørgrav wrote:
Kash Pande <kash@xxxxxxxxxxxxx> writes:

I'm running 6.1-BETA1, and I guess this is a part of the 27,000
regressions that happened from 5.4 to 6.1, however, when using sh as
the bourne code interpreter, configure scripts fail to execute.


The likelihood of this being a sh(1) bug is pretty much nil. The
ports cluster builds the entire ports collection about once a week.
There are currently 11,901 ports with a GNU configure script, so the
ports team should have encountered this by now.

Judging from the error messages you quote, it's more likely that there
is something wrong with your installed version of m4, or that you have
installed a package with a buggy aclocal script which confuses m4.

DES

A related possibility is that you need to amend the include path for aclocal correctly/differently. On 6.0R I get a sensible result out of autogen.sh if I change the aclocal command to:

run_or_die $ACLOCAL -I m4 -I /usr/local/share/aclocal

cheers

Mark
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Problem with script to add printers ports, need help.
    ... >> first want to add the printer ports but I am running into a problem. ... >> Just for the heck of it I ran the template script from the script center and ... > and ports on local and remote computers. ... > Instrumentation scripts in Windows Server 2003, ...
    (microsoft.public.windows.server.scripting)
  • Re: [Full-disclosure] Brute force attack - need your advice
    ... But please state a config that someone with experience can not get into, is more of a point that security is ever evolving. ... Yup it is security by obscurity and it will help against a script kiddie that won't take the time to scan all ports, thats why I suggested move to a high non-standard port. ... I'm not talking about downloading blacklists but dynamic firewall rules and scripting to achieve a dynamic list based on ranking of attacks against the box. ...
    (Full-Disclosure)
  • Re: /bin/sh doesnt run autoconfied configure scripts correctly
    ... configure scripts fail to execute. ... The likelihood of this being a shbug is pretty much nil. ... ports cluster builds the entire ports collection about once a week. ... There are currently 11,901 ports with a GNU configure script, so the ...
    (freebsd-current)
  • Re: portupgrade script problem
    ... >I have a script I am running to update my ports. ... While many of us do run a nightly cron job to upgrade the ports tree, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: allowing ordinary users to open privileged ports
    ... Creating a setuid shell script creates a major security hole. ... allowing ordinary users to open privileged ports ... > server application using the ports specified at configuration. ... > client shares the server application's port settings. ...
    (Focus-SUN)