** Changed in: aikiframework
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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     : aikiframework-devel@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to