Opened 21 months ago

Last modified 21 months ago

#65722 new defect

erlsom fails to configure on Rosetta: error: Broken Erlang installation, does not exist!

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard Cc:
Port: erlsom

Description

:info:configure checking build system type... powerpc-apple-darwin10
:info:configure checking host system type... powerpc-apple-darwin10
:info:configure checking target system type... powerpc-apple-darwin10
:info:configure checking for erl... /opt/local/bin/erl
:info:configure checking for erlc... /opt/local/bin/erlc
:info:configure configure: error: Broken Erlang installation,  does not exist!

Same failure when --build= is not added, so Rosetta assumes x86 triple.

Attachments (2)

config.log (4.3 KB) - added by barracuda156 21 months ago.
erlsom.log (119.7 KB) - added by barracuda156 21 months ago.

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by barracuda156

Attachment: config.log added

Changed 21 months ago by barracuda156

Attachment: erlsom.log added

comment:1 Changed 21 months ago by barracuda156

This in configure leads to the error:

case "$target_os" in
	*cygwin*)
           ERLDIR=`echo "${ERL}" | sed 's/\/bin\/*erl.*//'`
	;;
	*)
    	  ERLDIR=$(sh -c "$(sed -n '/^ *ROOTDIR=/p' $ERL) && echo \$ROOTDIR");;
    esac

if test ! -d "$ERLDIR" ; then
	as_fn_error $? "Broken Erlang installation, $ERLDIR does not exist!" "$LINENO" 5
fi
Note: See TracTickets for help on using tickets.