Subject: Re: devel/glib2 fails on Linux with "syntax error in VERSION script"
To: None <pkgsrc-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 03/17/2007 21:54:00
As a further example from libtool ...

The working line is (not using pkgsrc):

cat .libs/libglib-2.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libglib-2.0.ver


While the pkgsrc build converts the \1 into a ASCII 0 / CTRL-A:

cat .libs/libglib-2.0.exp | sed -e "s/\(.*\)/^A;/" >> .libs/libglib-2.0.ver

(These lines are what is outputed to console.)


I found the related code in aclocal.m4 for linux*. 


My shell:

reed@u:/opt/pkgsrc/pkgsrc/devel/glib2$ /bin/sh --version
GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.

(Previously on this Ubuntu Linux system it was dash.)