From: Richard <in...@ri...> - 2010-02-01 00:52:23
|
Allright found the error but don't know how to solve it in the intended manner. Replace in the makefile this part: update-version: sed -i 's/^my $$VERSION = .*;/my $$VERSION = "$(VERSION)";/' sqlgrey sed -i 's/^%define ver .*/%define ver $(VERSION)/' sqlgrey.spec sed -i 's/^my $$VERSION = .*;/my $$VERSION = "$(VERSION)";/' sqlgrey-logstats.pl With the same code but not so elegant from an older version like 1.7.6: update-version: cat sqlgrey | sed 's/^my $$VERSION = .*;/my $$VERSION = "$(VERSION)";/' > sqlgrey.new mv sqlgrey.new sqlgrey chmod a+x sqlgrey cat sqlgrey.spec | sed 's/^%define ver .*/%define ver $(VERSION)/' > sqlgrey.spec.new mv sqlgrey.spec.new sqlgrey.spec cat sqlgrey-logstats.pl | sed 's/^my $$VERSION = .*;/my $$VERSION = "$(VERSION)";/' > sqlgrey-logstats.pl.new mv sqlgrey-logstats.pl.new sqlgrey-logstats.pl chmod a+x sqlgrey-logstats.pl I'm not an expert on sed but somehow the workings of sed on a Mac are different. That's why you can't get it installed. Hope this helps. Richard On 31 Jan 2010, at 9:10 PM, Richard wrote: > I had not tried the latest version, will take a look at it. If no one else finds the answer first ;-0 > > R > > On 31 Jan 2010, at 9:08 PM, Steve Martin wrote: > >> Yes, in fact I've had a working install of 1.7.6 for some time. The problem is when I get here... >> >> -- >> If youve downloaded SQLGrey from sourceforge please unpack it and ‘cd’ into the directory and run the following commands: >> >> make >> sudo make install >> -- >> >> The "sudo make install" fails as I described. >> >> >> On Jan 31, 2010, at 1:39 PM, Richard wrote: >> >>> Steven, >>> >>> Have you tried these instructions? >>> http://diymacserver.com/installing-the-mailserver/setting-up-greylisting-with-sqlgrey/ >>> >>> They worked for me. >>> >>> Richard >>> >>> On 31 Jan 2010, at 5:40 PM, Steve Martin wrote: >>> >>>> I get the following error when trying to install the latest sqlgrey. MacOS X 10.5.8. >>>> >>>> >>>> mail2:sqlgrey-1.8.0-rc1 cheezmo$ sudo make install >>>> perldoc -u sqlgrey | pod2man -n sqlgrey > sqlgrey.1 >>>> sed -i 's/^my $VERSION = .*;/my $VERSION = "1.8.0-rc1";/' sqlgrey >>>> sed: 1: "sqlgrey": unterminated substitute pattern >>>> make: *** [update-version] Error 1 >>>> >>>> -- >>>> Steve Martin >>>> st...@pl... >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>> Stay online with enterprise data centers and the best network in the business >>>> Choose flexible plans and management services without long-term contracts >>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>> http://p.sf.net/sfu/theplanet-com >>>> _______________________________________________ >>>> Sqlgrey-users mailing list >>>> Sql...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sqlgrey-users >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> The Planet: dedicated and managed hosting, cloud storage, colocation >>> Stay online with enterprise data centers and the best network in the business >>> Choose flexible plans and management services without long-term contracts >>> Personal 24x7 support from experience hosting pros just a phone call away. >>> http://p.sf.net/sfu/theplanet-com >>> _______________________________________________ >>> Sqlgrey-users mailing list >>> Sql...@li... >>> https://lists.sourceforge.net/lists/listinfo/sqlgrey-users >>> >> >> -- >> Steve Martin >> st...@pl... >> >> >> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call away. >> http://p.sf.net/sfu/theplanet-com >> _______________________________________________ >> Sqlgrey-users mailing list >> Sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sqlgrey-users >> > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Sqlgrey-users mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlgrey-users > |