Ralf S. Engelschall wrote:
On Fri, Aug 12, 2005, Matthias Kurz wrote:


On Fri, Aug 12, 2005, Doug Summers wrote:


Getting this at the beginning of the build...

+ cd lsof_4.75_src
+ case "powerpc-aix5.1" in
+ echo 'Platform powerpc-aix5.1 not supported'
Platform powerpc-aix5.1 not supported

This is happening with the SRC and CURRENT source code. In the spec it
looks like AIX support has been removed:

Do you know that there _was_ support ?
At least i did not find anything about aix in the lsof.spec cvs log.


%build
   cd lsof_%{version}_src
   case "%{l_platform -t}" in
       *-freebsd* ) platform="freebsd" ;;
       *-linux*   ) platform="linux"   ;;
       *-sunos*   ) platform="solaris" ;;
       *-netbsd*  ) platform="netbsd"  ;;
       *-hpux*    ) platform="hpuxgcc" ;;

Does it work, when you add the following line:
         *-aix*     ) platform="aixgcc" ;;



       * ) echo "Platform %{l_platform -t} not supported" 1>&2; exit 1 ;;
   esac

And a few lines below (choosing setgid group)

       *-aix*     ) setgid="sys"  ;;

I'm just guessing here (same as solaris/hpux), because i do not have
access to AIX. A "ls -Ll /dev/mem" could help here.
There is a whole chapter about AIX in the lsof FAQ, btw. (well, and for
most other platforms, too).


I've comitted this now because it looked fine for me under AIX.

Thanks, Ralph. This works great under 5.1 but not under 5.3. I will try adding a --host= entry to trick the system into thinking it's a 5.1 machine and try again.

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to