pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/glib2 fails on Linux with "syntax error in VERSION script"



On Fri, 16 Mar 2007, Roland Illig wrote:

> Jeremy C. Reed wrote:
> > devel/glib2 fails on Linux with "syntax error in VERSION script". This is on
> > Ubuntu.
> > 
> > /usr/bin/ld:.libs/libglib-2.0.ver:2: ignoring invalid character `\001' in
> > script
> > /usr/bin/ld:.libs/libglib-2.0.ver:2: syntax error in VERSION script
> > collect2: ld returned 1 exit status
> > 
> > That work/glib-2.12.9/glib/.libs/libglib-2.0.ver file contains a CTRL-A:
> > 
> > { global:
> > ^A;
> > local: *; };
> > 
> > 
> > I am trying to track down what generated this.
> 
> /bin/sh is a symlink to dash, and that shell is not POSIX-compliant. In
> particular,
> 
> "echo '\400'" echoes an @ character.
> 
> The bootstrap handles this by setting TOOLS_PLATFORM.sh=/bin/bash (line 861 of
> bootstrap/bootstrap revision 1.92).

I set that. And then SHELL and all noticable uses of /bin/sh became 
/bin/bash.

But same problem.

So I changed my /bin/sh symlink to point to /bin/bash. And still same 
problem.

I can upload some files if that would be useful.

  Jeremy C. Reed



Home | Main Index | Thread Index | Old Index