[freeside-users] Makefile example for OpenBSD 5.6 & unknown option for install during make install-docs

Sebastien Perreault sperreault at alesium.net
Fri Apr 10 05:25:56 PDT 2015


Hi,

 On OpenBSD /usr/bin/install is not GNU install, I think if you install
coreutils from the ports and point the install command in the Makefile to
/usr/local/bin/install you should be fine.

 Seb,

On Thu, Apr 9, 2015 at 11:55 PM, Edwin A. Epstein III <ed at n1n2.solutions>
wrote:

> Hello,
>
> I'm installing the current branch master of Freeside with, "git clone
> git://git.freeside.biz/freeside.git freeside". If that wasn't the correct
> version to use, please let me know.
>
> Once I got the point where I needed to edit the Makefile, I could tell
> right away it was defaulted for Debian 7. I corrected pretty much
> everything I saw in there for OpenBSD (there were plenty of helpful
> comments, thank you). I've completed the installation up to the point,
> "make install-docs" without error. Running that will output:
>
> *make masondocs*
> *`masondocs' is up to date.*
> *#ancient attempt to avoid overwriting customer modifications directly to
> production web files that's overlived its usefulness*
> *#[ -e /var/apache2/htdocs/freeside ] && mv /var/apache2/htdocs/freeside
> /var/apache2/htdocs/freeside.`date +%Y%m%d%H%M%S` || true*
> *#cp -r masondocs /var/apache2/htdocs/freeside*
> *[ -h /var/apache2/htdocs/freeside ] && rm /var/apache2/htdocs/freeside ||
> true*
> *mkdir -p /var/apache2/htdocs/freeside*
> *cp -r masondocs/* masondocs/.htaccess /var/apache2/htdocs/freeside*
> *chown -R freeside:freeside /var/apache2/htdocs/freeside*
> *install -D htetc/handler.pl <http://handler.pl>
> /usr/local/etc/freeside/handler.pl <http://handler.pl>*
> *install: unknown option -- D*
> *usage: install [-bCcdpSs] [-B suffix] [-f flags] [-g group] [-m mode] [-o
> owner]*
> * source ... target ...*
> **** Error 64 in /usr/src/freeside (Makefile:154 'install-docs')*
>
> The install command has an unrecognized option it. Does anybody have a
> working Makefile for OpenBSD 5.6 with Apache 2/PostgreSQL? Alternately, any
> advice on fixing the install command correctly for what it's doing?
>
> Sincerely,
>
> Edwin A Epstein, III
> n1n2.solutions
> 702.575.1980
> n1n2.solutions
>
>
> _______________________________________________
> freeside-users mailing list
> freeside-users at freeside.biz
> http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>
>


-- 
Sebastien Perrreault
Partner
Les Technologies Alesium Inc
P: 514-298-7193
F: 514-221-3668
E: sperreault at alesium.net

"Life's missed opportunities, at the end, may seem more poignant to us than
those we embraced--because in our imagination they have a perfection that
reality can never rival." -- Roger Ebert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://freeside.biz/pipermail/freeside-users/attachments/20150410/2b34c22d/attachment.html>


More information about the freeside-users mailing list