Re: [ccp4bb] Building libccp4 static.

2018-09-24 Thread Ian Tickle
Hi Tim

No that doesn't work because then it's looking for /home/ian
/CCP4-7.0/ccp4-7.0-src/ccp4-7.0-src/lib/pkgconfig/*.pc but that directory
path doesn't exist.

Thanks for the suggestion!

Cheers

-- Ian


On Mon, 24 Sep 2018 at 13:55, Tim Gruene  wrote:

> Dear Ian,
>
> is it possible that the element list in the for loop,
> 'ccp4-7.0/lib/pkgconfig/*.pc' is empty?
> The error message contains ccp4-7.0-src as directory name, i.e. maybe it
> helps to write
>
>  for p in ccp4-7.0-src/lib/pkgconfig/*.pc
>
> Best wishes,
> Tim
>
> On 09/24/2018 12:47 PM, Ian Tickle wrote:
> >
> > 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=1
> >
>
> --
> --
> Paul Scherrer Institut
> Tim Gruene
> - persoenlich -
> OSUA/204
> Forschungsstrasse 111
> CH-5232 Villigen PSI
> phone: +41 (0)56 310 5297
>
> GPG Key ID = A46BEE1A
>
>



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


Re: [ccp4bb] Building libccp4 static.

2018-09-24 Thread Tim Gruene
Dear Ian,

is it possible that the element list in the for loop,
'ccp4-7.0/lib/pkgconfig/*.pc' is empty?
The error message contains ccp4-7.0-src as directory name, i.e. maybe it
helps to write

 for p in ccp4-7.0-src/lib/pkgconfig/*.pc

Best wishes,
Tim

On 09/24/2018 12:47 PM, Ian Tickle wrote:
> 
> 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=1
> 

-- 
--
Paul Scherrer Institut
Tim Gruene
- persoenlich -
OSUA/204
Forschungsstrasse 111
CH-5232 Villigen PSI
phone: +41 (0)56 310 5297

GPG Key ID = A46BEE1A




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


signature.asc
Description: OpenPGP digital signature


[ccp4bb] Building libccp4 static.

2018-09-24 Thread Ian Tickle
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=1