Comment 10 for bug 791639

Here are the generated config files for the latest rounds of mac os x build testing. Still hanging with errors on the ../config command

On Jun 7, 2011, at 12:38 AM, Brad Phillips wrote:

> Oops, wrong file. Here's the log.
>
>
>
> On Jun 6, 2011, at 11:52 PM, Steven Garcia wrote:
>
>> Brad can you attach the configure script to a reply to this email?
>>
>> On Mon, Jun 6, 2011 at 8:24 PM, Brad Phillips
>> <email address hidden>wrote:
>>
>>> I just tested & came up with the following errors when I tried running
>>> ../configure:
>>>
>>> ../configure: line 4: .: filename argument required
>>> .: usage: . filename [arguments]
>>>
>>> My steps to test were:
>>> bzr lp-login
>>> bzr branch lp:aikiframework
>>> cd aikiframework
>>> ./autogen.sh (works)
>>> cd build
>>> ../configure --prefix=/usr --sysconfdir=/etc (gives the above errors)
>>>
>>> I'm running Mac OS X version 10.6.7
>>>
>>> ** Changed in: aikiframework
>>> Status: Fix Committed => In Progress
>>>
>>> --
>>> You received this bug notification because you are a bug assignee.
>>> https://bugs.launchpad.net/bugs/791639
>>>
>>> Title:
>>> the build packaging has errors on mac os x
>>>
>>> Status in Aiki Framework:
>>> In Progress
>>>
>>> Bug description:
>>> Brad's laptop is running most recent mac os x.
>>>
>>> We had to set him up with http://macports.org
>>>
>>> Got all his software updates, m4 and gnu build stuff
>>>
>>> sudo port -v selfupgrade
>>> sudo port install autoconf
>>> sudo port install automake
>>>
>>> sudo port upgrade
>>>
>>> Anyway, still getting an error
>>>
>>>
>>> <bradphillips> ../configure: line 4: --n: command not found
>>> <bradphillips> ../configure: line 5: .: filename argument required
>>> <bradphillips> .: usage: . filename [arguments]
>>> <rejon> ok
>>> <rejon> type:
>>> <rejon> cd ..
>>> <rejon> to get out of build
>>> <rejon> type:
>>> <rejon> head configure
>>> <bradphillips> ok, I get:
>>> <bradphillips> #! /bin/sh
>>> <bradphillips> # Guess values for system-dependent variables and create
>>> Makefiles.
>>> <bradphillips> # Generated by GNU Autoconf 2.68 for aiki -n ;
>>> <bradphillips> --n 763
>>>
>>>
>>> ###
>>>
>>> So there is some error in getting the revision numbers, but not seeing
>>> in Linux.
>>>
>>> I tried several ways to encapsulate the error, but don't have a mac
>>> handy and its taking way too long to test and hand off code.
>>>
>>> need to try this when one of us has a mac os x, or brad's laptop
>>> handy.
>>>
>>> The problem might be resolved by finding non sed, grep and bzr ways of
>>> getting the revision number.
>>>
>>> As for now, I've spent too long on it, and its low priority since most
>>> developers are going to have linux boxes on our team.
>>>
>>> ###
>>>
>>> Here is current bzr revno 764 of configure.ac where I think the
>>> problem is at:
>>>
>>> ###
>>>
>>> m4_define([pkgversion],
>>> [m4_esyscmd(echo -n $(grep define\(\'AIKI_VERSION\',\'.\\+\'\)\;
>>> src/aiki.php \
>>> | sed
>>> s/.*define\(\'.\\+\',\''\(.*\)'\'\).*/'\1'/))])
>>>
>>> m4_define([revversion],
>>> [m4_esyscmd(echo -n $(bzr revno))])
>>>
>>> m4_define([allversion],[pkgversion][-][revversion])
>>>
>>> # Initialize autoconf, set the name of this package and version
>>> AC_INIT([aiki], [allversion], [https://bugs.launchpad.net/aikiframework
>>> ],,[http://aikiframework.org])
>>>
>>>
>>> ###
>>>
>>> Basically, the macros are not being read right and create junk when
>>> running configure:
>>>
>>> ./autogen.sh
>>> cd build
>>> ../configure
>>>
>>> You can see the junk upon that configure run or then by viewing
>>> configure:
>>>
>>> head ../configure
>>>
>>>
>>> So something that needs some hands on mac fixing. Also need some mac os x
>>> testing to make sure sed, grep and echo working fine....
>>>
>>> Its something simple, just need a mac box.
>>>
>>
>> --
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>> https://bugs.launchpad.net/bugs/791639
>>
>> Title:
>> the build packaging has errors on mac os x
>>
>> Status in Aiki Framework:
>> In Progress
>>
>> Bug description:
>> Brad's laptop is running most recent mac os x.
>>
>> We had to set him up with http://macports.org
>>
>> Got all his software updates, m4 and gnu build stuff
>>
>> sudo port -v selfupgrade
>> sudo port install autoconf
>> sudo port install automake
>>
>> sudo port upgrade
>>
>> Anyway, still getting an error
>>
>>
>> <bradphillips> ../configure: line 4: --n: command not found
>> <bradphillips> ../configure: line 5: .: filename argument required
>> <bradphillips> .: usage: . filename [arguments]
>> <rejon> ok
>> <rejon> type:
>> <rejon> cd ..
>> <rejon> to get out of build
>> <rejon> type:
>> <rejon> head configure
>> <bradphillips> ok, I get:
>> <bradphillips> #! /bin/sh
>> <bradphillips> # Guess values for system-dependent variables and create Makefiles.
>> <bradphillips> # Generated by GNU Autoconf 2.68 for aiki -n ;
>> <bradphillips> --n 763
>>
>>
>> ###
>>
>> So there is some error in getting the revision numbers, but not seeing
>> in Linux.
>>
>> I tried several ways to encapsulate the error, but don't have a mac
>> handy and its taking way too long to test and hand off code.
>>
>> need to try this when one of us has a mac os x, or brad's laptop
>> handy.
>>
>> The problem might be resolved by finding non sed, grep and bzr ways of
>> getting the revision number.
>>
>> As for now, I've spent too long on it, and its low priority since most
>> developers are going to have linux boxes on our team.
>>
>> ###
>>
>> Here is current bzr revno 764 of configure.ac where I think the
>> problem is at:
>>
>> ###
>>
>> m4_define([pkgversion],
>> [m4_esyscmd(echo -n $(grep define\(\'AIKI_VERSION\',\'.\\+\'\)\; src/aiki.php \
>> | sed s/.*define\(\'.\\+\',\''\(.*\)'\'\).*/'\1'/))])
>>
>> m4_define([revversion],
>> [m4_esyscmd(echo -n $(bzr revno))])
>>
>> m4_define([allversion],[pkgversion][-][revversion])
>>
>> # Initialize autoconf, set the name of this package and version
>> AC_INIT([aiki], [allversion], [https://bugs.launchpad.net/aikiframework],,[http://aikiframework.org])
>>
>>
>> ###
>>
>> Basically, the macros are not being read right and create junk when
>> running configure:
>>
>> ./autogen.sh
>> cd build
>> ../configure
>>
>> You can see the junk upon that configure run or then by viewing
>> configure:
>>
>> head ../configure
>>
>>
>> So something that needs some hands on mac fixing. Also need some mac os x testing to make sure sed, grep and echo working fine....
>>
>> Its something simple, just need a mac box.
>>
>> To unsubscribe from this bug, go to:
>> https://bugs.launchpad.net/aikiframework/+bug/791639/+subscribe
>
>
> ** Attachment added: "config.log"
> https://bugs.launchpad.net/bugs/791639/+attachment/2158140/+files/config.log
>
> --
> You received this bug notification because you are a member of Aiki
> Framework Developers, which is subscribed to aikiframework.
> https://bugs.launchpad.net/bugs/791639
>
> Title:
> the build packaging has errors on mac os x
>
> Status in Aiki Framework:
> In Progress
>
> Bug description:
> Brad's laptop is running most recent mac os x.
>
> We had to set him up with http://macports.org
>
> Got all his software updates, m4 and gnu build stuff
>
> sudo port -v selfupgrade
> sudo port install autoconf
> sudo port install automake
>
> sudo port upgrade
>
> Anyway, still getting an error
>
>
> <bradphillips> ../configure: line 4: --n: command not found
> <bradphillips> ../configure: line 5: .: filename argument required
> <bradphillips> .: usage: . filename [arguments]
> <rejon> ok
> <rejon> type:
> <rejon> cd ..
> <rejon> to get out of build
> <rejon> type:
> <rejon> head configure
> <bradphillips> ok, I get:
> <bradphillips> #! /bin/sh
> <bradphillips> # Guess values for system-dependent variables and create Makefiles.
> <bradphillips> # Generated by GNU Autoconf 2.68 for aiki -n ;
> <bradphillips> --n 763
>
>
> ###
>
> So there is some error in getting the revision numbers, but not seeing
> in Linux.
>
> I tried several ways to encapsulate the error, but don't have a mac
> handy and its taking way too long to test and hand off code.
>
> need to try this when one of us has a mac os x, or brad's laptop
> handy.
>
> The problem might be resolved by finding non sed, grep and bzr ways of
> getting the revision number.
>
> As for now, I've spent too long on it, and its low priority since most
> developers are going to have linux boxes on our team.
>
> ###
>
> Here is current bzr revno 764 of configure.ac where I think the
> problem is at:
>
> ###
>
> m4_define([pkgversion],
> [m4_esyscmd(echo -n $(grep define\(\'AIKI_VERSION\',\'.\\+\'\)\; src/aiki.php \
> | sed s/.*define\(\'.\\+\',\''\(.*\)'\'\).*/'\1'/))])
>
> m4_define([revversion],
> [m4_esyscmd(echo -n $(bzr revno))])
>
> m4_define([allversion],[pkgversion][-][revversion])
>
> # Initialize autoconf, set the name of this package and version
> AC_INIT([aiki], [allversion], [https://bugs.launchpad.net/aikiframework],,[http://aikiframework.org])
>
>
> ###
>
> Basically, the macros are not being read right and create junk when
> running configure:
>
> ./autogen.sh
> cd build
> ../configure
>
> You can see the junk upon that configure run or then by viewing
> configure:
>
> head ../configure
>
>
> So something that needs some hands on mac fixing. Also need some mac os x testing to make sure sed, grep and echo working fine....
>
> Its something simple, just need a mac box.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~aikiframework-devel
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~aikiframework-devel
> More help : https://help.launchpad.net/ListHelp