Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39373 closed defect (fixed)

vit fails to configure: perl must be installed as /opt/local/bin/perl

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: vit

Description

Configuring vit fails on the buildbots, e.g.:

--->  Configuring vit
DEBUG: Using compiler 'Mac OS X clang'
DEBUG: Executing org.macports.configure (vit)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_office_vit/vit/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_office_vit/vit/work/vit-1.1" && ./configure --prefix=/opt/local'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_dports_office_vit/vit/work/vit-1.1" && ./configure --prefix=/opt/local 
checking for task... /opt/local/bin/task
checking for perl... /usr/bin/perl
configure: error: can not continue... perl must be installed as /opt/local/bin/perl
confgiure: hint: try "sudo ln -s /usr/bin/perl /opt/local/bin/perl"
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_dports_office_vit/vit/work/vit-1.1" && ./configure --prefix=/opt/local 
Exit code: 1

Sounds like you need to inform the configure script that perl is actually located at /opt/local/bin/perl5.12.

Change History (2)

comment:1 Changed 11 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Noticed, thanks. Solved by using env perl instead of hardcoded path in vit.pl and removing the relevant check in configure. Commited in r106751.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.