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

Edwin A. Epstein III ed at n1n2.solutions
Wed Apr 15 15:05:56 PDT 2015


Hi Sebastien,

Thanks for your advice. I did install coreutils, and located ginstall that does seem to be what was needed. Replacing install with ginstall worked, and the man page for ginstall seems like it was the GNU install you were referring to.

I've progressed through the installation of the required perl modules, and I'm ready to run "freeside-setup -D host.domain".  However, I get the following error:

"Use of uninitialized value in <HANDLE> at /usr/local/libdata/perl5/site_perl/FS/UID.pm line 423.
readline() on unopened filehandle at /usr/local/libdata/perl5/site_perl/FS/UID.pm line 423.
Can't get secrets: /usr/local/etc/freeside/secrets: No such file or directory"

I did initially install a lot of the modules with cpanimus (using sudo under a tech account), and not directly with the ports & packages under OpenBSD. That being said, the setup isn't complaining anymore about missing or broken Perl module dependencies. It was a rather long list, but I have SNMP, PostgreSQL, etc. all up and configured. PostgreSQL for sure.

Any advice is greatly appreciated.



Sincerely, 

Edwin A Epstein, III 
n1n2.solutions 
702.575.1980 
n1n2.solutions

----- Original Message -----
From: freeside-users-request at freeside.biz
To: "freeside-users" <freeside-users at freeside.biz>
Sent: Friday, April 10, 2015 12:00:01 PM
Subject: freeside-users Digest, Vol 113, Issue 2

Send freeside-users mailing list submissions to
	freeside-users at freeside.biz

To subscribe or unsubscribe via the World Wide Web, visit
	http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users
or, via email, send a message with subject or body 'help' to
	freeside-users-request at freeside.biz

You can reach the person managing the list at
	freeside-users-owner at freeside.biz

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freeside-users digest..."


Today's Topics:

   1. Makefile example for OpenBSD 5.6 & unknown option for install
      during make install-docs (Edwin A. Epstein III)
   2. Re: Makefile example for OpenBSD 5.6 & unknown option for
      install during make install-docs (Sebastien Perreault)


----------------------------------------------------------------------

Message: 1
Date: Thu, 9 Apr 2015 20:55:22 -0700 (PDT)
From: "Edwin A. Epstein III" <ed at n1n2.solutions>
To: freeside-users at freeside.biz
Subject: [freeside-users] Makefile example for OpenBSD 5.6 & unknown
	option for install during make install-docs
Message-ID:
	<986464029.17539.1428638122787.JavaMail.zimbra at n1n2.solutions>
Content-Type: text/plain; charset="utf-8"

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 /usr/local/etc/freeside/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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://freeside.biz/pipermail/freeside-users/attachments/20150409/d5acb473/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 10 Apr 2015 08:25:56 -0400
From: Sebastien Perreault <sperreault at alesium.net>
To: Freeside users mailing list <freeside-users at freeside.biz>
Subject: Re: [freeside-users] Makefile example for OpenBSD 5.6 &
	unknown option for install during make install-docs
Message-ID:
	<CAEN7-Bth7tyCS4U=ZGqLtnbwmevjiQSBDhZAEKqyLEsmGpCaiQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
freeside-users mailing list
freeside-users at freeside.biz
http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users


------------------------------

End of freeside-users Digest, Vol 113, Issue 2
**********************************************


More information about the freeside-users mailing list