Re: installation issue when building with NO_CURL=YesPlease
- From
- Dirk Süsserott <newsletter@dirk.my1.cc>
- Date
- May 26, 2010, 18:27 UTC
- Message-ID
- <4BFD680E.8000603@dirk.my1.cc>
- In-Reply-To
- <8E0CE121-DB2F-4017-AB46-282562B072FB@aol.com>
Am 26.05.2010 16:15 schrieb Paul Walker:
Show 39 quoted lines
> > On 26 May 2010, at 14:58, Ramkumar Ramachandra wrote: > >> Hi, >> >>> As I could not find any bug reporting information on the wiki I >>> thought I >>> would mention this here, please let me know if there is a better >>> forum for >>> bug reports. >> >> Bugs are usually reported on this mailing list. >> >>> I believe the latest git release (1.7.1.) has an installation >>> bug when building with "NO_CURL=YesPlease". Looking at the Makefile >>> line >>> 1999 it reads >>> >>> for p in $(REMOTE_CURL_ALIASES); do >>> >>> which results in "/bin/sh: syntax error at line 1 : `;' unexpected" as >>> REMOTE_CURL_ALIASES is empty. >> >> I can't reproduce this. How exactly are you building? I'm using >> $ NO_CURL=YesPlease make >> ... and it builds fine for me. >> >> -- Ram > > I used: > > gmake prefix=<path> NO_CURL=YesPlease NO_PYTHON=YesPlease all > > which works fine, followed by > > gmake prefix=<path> NO_CURL=YesPlease NO_PYTHON=YesPlease install > > which reported the above error >
I had a similar problem when "make install"ing under AIX. Not with NO_CURL but with some other NO_* option. I forgot which. This yealded to an empty $(REMOTE_***_ALIASES) macro (REMOTE_CURL_ALIASES in your case) which my AIX shell cannot handle.
It reads "for p in; do" which makes it unhappy. I solved my problem with the SHELL_PATH environment variable (look at the first few lines in the Makefile).
$ SHELL_PATH=/bin/bash NO_SOMETHING=YesPlease make install
then worked fine for me.
HTH,
Dirk