Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  Install error for OSX

Guest
Posted: Tue Nov 28, 2006 7:51 pm Reply with quote
Guest
Hi there, using OSX 10.9, and getting an error installing, I think it
was mentioned before on the mailing list by Eric Baur I think.

Anyway the error is:

+ '[' Darwin = Darwin -a 0 = 0 ']'
+ startupdir=/Library/StartupItems/Yaws
+ '[' '!' -e /Library/StartupItems/Yaws
./Install: line 65: [: missing `]'
+ '[' '!' -d /Library/StartupItems/Yaws ']'
+ echo '/Library/StartupItems/Yaws exists but is not a directory,
bailing out ...'
/Library/StartupItems/Yaws exists but is not a directory, bailing out ...
+ exit 1
make[1]: *** [.install] Error 1
make: *** [install] Error 1

So you (or Eric Baur) mentioned a patch, is there anywhere I can
download this patch?
Cheers

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Tue Nov 28, 2006 10:05 pm Reply with quote
Guest
I believe this is fixed in CVS

Here's the patch against 1.65:

*** yaws-1.65/scripts/Install Mon Aug 7 05:35:30 2006
--- yaws-1.65.patched/scripts/Install Sat Nov 4 08:23:54 2006
***************
*** 62,68 ****

elif [ "`uname -s`" = "Darwin" -a `id -u` = 0 ]; then
startupdir="/Library/StartupItems/Yaws"
! if [ ! -e ${startupdir} && ]; then
mkdir ${startupdir};
elif [ ! -d ${startupdir} ]; then
echo "${startupdir} exists but is not a directory, bailing out ..."
--- 62,68 ----

elif [ "`uname -s`" = "Darwin" -a `id -u` = 0 ]; then
startupdir="/Library/StartupItems/Yaws"
! if [ ! -e ${startupdir} ]; then
mkdir ${startupdir};
elif [ ! -d ${startupdir} ]; then
echo "${startupdir} exists but is not a directory, bailing out ..."

On Nov 28, 2006, at 2:51 PM, James McCarthy wrote:

> Hi there, using OSX 10.9, and getting an error installing, I think it
> was mentioned before on the mailing list by Eric Baur I think.
>
> Anyway the error is:
>
> + '[' Darwin = Darwin -a 0 = 0 ']'
> + startupdir=/Library/StartupItems/Yaws
> + '[' '!' -e /Library/StartupItems/Yaws
> ./Install: line 65: [: missing `]'
> + '[' '!' -d /Library/StartupItems/Yaws ']'
> + echo '/Library/StartupItems/Yaws exists but is not a directory,
> bailing out ...'
> /Library/StartupItems/Yaws exists but is not a directory, bailing
> out ...
> + exit 1
> make[1]: *** [.install] Error 1
> make: *** [install] Error 1
>
> So you (or Eric Baur) mentioned a patch, is there anywhere I can
> download this patch?
> Cheers
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Tue Nov 28, 2006 10:37 pm Reply with quote
Guest
BTW - the broken install script will have left a bogus file:

/Library/StartupItems/Yaws

Be sure to manually remove this file before running the patched script.

On Nov 28, 2006, at 2:51 PM, James McCarthy wrote:

> Hi there, using OSX 10.9, and getting an error installing, I think it
> was mentioned before on the mailing list by Eric Baur I think.
>
> Anyway the error is:
>
> + '[' Darwin = Darwin -a 0 = 0 ']'
> + startupdir=/Library/StartupItems/Yaws
> + '[' '!' -e /Library/StartupItems/Yaws
> ./Install: line 65: [: missing `]'
> + '[' '!' -d /Library/StartupItems/Yaws ']'
> + echo '/Library/StartupItems/Yaws exists but is not a directory,
> bailing out ...'
> /Library/StartupItems/Yaws exists but is not a directory, bailing
> out ...
> + exit 1
> make[1]: *** [.install] Error 1
> make: *** [install] Error 1
>
> So you (or Eric Baur) mentioned a patch, is there anywhere I can
> download this patch?
> Cheers
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Dec 06, 2006 9:35 pm Reply with quote
Guest
James,

I also had this problem today. As far as I can tell, the fix is to
remove '&&' on line 65 of scripts/Install.

--Toby

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum