All, I'm trying to build libccp4 statically (after all updates applied) on
Ubuntu 18.04.1 and I get this error:

2: /home/ian/CCP4-7.0/ccp4-7.0-src/chec: not
foundls/triggers/pkgconf-pathfix-nt.trigger: Fixing .pc Files (correct path
structure)
/home/ian/CCP4-7.0/ccp4-7.0-src/checkout/devtools/triggers/pkgconf-pathfix-nt.trigger:
5: /home/ian/CCP4-7.0/ccp4-7.0-src/chec: not
foundls/triggers/pkgconf-pathfix-nt.trigger:
/home/ian/CCP4-7.0/ccp4-7.0-src/checkout/devtools/triggers/pkgconf-pathfix-nt.trigger:
7:
/home/ian/CCP4-7.0/ccp4-7.0-src/checkout/devtools/triggers/pkgconf-pathfix-nt.trigger:
Syntax error: word unexpected (expecting "do")
E: /bin/sh
/home/ian/CCP4-7.0/ccp4-7.0-src/checkout/devtools/triggers/pkgconf-pathfix-nt.trigger
returned with an error code (2)
*** success *** [3/3]

The file 
/home/ian/CCP4-7.0/ccp4-7.0-src/checkout/devtools/triggers/pkgconf-pathfix-nt.trigger
contains:

# REMatch: \/ccp4-7\.0\/lib\/pkgconfig\/.*\.pc

VERBOSE=1
echo 'Fixing .pc Files (correct path structure)'

for p in ccp4-7.0/lib/pkgconfig/*.pc
do
 echo 'Checking '$p' for errors'
 sed -i 's/=\/msys64/=\/c\/msys64/g' $p
 sed -i 's/="\/msys64/="\/c\/msys64/g' $p
 sed -i 's/-L\/msys64/-L\/c\/msys64/g' $p
 sed -i 's/-I\/msys64/-I\/c\/msys64/g' $p
done

Presumably there's a syntax error there somewhere.  I can't see it but then
I'm not a Bourne shell expert.

Any ideas?

Thanks!

-- Ian

########################################################################

To unsubscribe from the CCP4BB list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1

Reply via email to