Opened 8 years ago

Closed 8 years ago

#36775 closed defect (invalid)

php5-oracle @5.3.17 arch -i386 php -v returns error on Mountain Lion

Reported by: djwiz1@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: php5-oracle

Description (last modified by mf2k (Frank Schima))

MacBook Pro i7 Mountain Lion 10.8.2 Xcode 4.5

Following instructions on r98925, I installed php5-oracle. When I use arch -i386 php -v, I get arch: posix_spawnp: php: Bad CPU type in executable

$ sudo port uninstall php5-oracle
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
$ sudo port install php5-oracle
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Computing dependencies for php5-oracle
--->  Dependencies to be installed: php5
--->  Fetching archive for php5
--->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2 from http://packages.macports.org/php5
--->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/php5
--->  Attempting to fetch php5-5.3.17_0+apache2.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php5
--->  Fetching distfiles for php5
--->  Verifying checksum(s) for php5
--->  Extracting php5
--->  Applying patches to php5
--->  Configuring php5
--->  Building php5
--->  Staging php5 into destroot
Warning: php5 installs files outside the common directory structure.
--->  Installing php5 @5.3.17_0+apache2
--->  Activating php5 @5.3.17_0+apache2
You may need to update your php.ini for any changes that have been made
in this version of php. Compare /opt/local/etc/php5/php.ini with
/opt/local/etc/php5/php.ini-development (if this is a development server) or
/opt/local/etc/php5/php.ini-production (if this is a production server).

If this is your first install, you need to activate PHP in your web server.

To enable PHP in Apache, run
  cd /opt/local/apache2/modules
  /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
--->  Cleaning php5
--->  Fetching archive for php5-oracle
--->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/php5-oracle
--->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/php5-oracle
--->  Attempting to fetch php5-oracle-5.3.17_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php5-oracle
--->  Fetching distfiles for php5-oracle
--->  Verifying checksum(s) for php5-oracle
--->  Extracting php5-oracle
--->  Configuring php5-oracle
--->  Building php5-oracle
--->  Staging php5-oracle into destroot
--->  Installing php5-oracle @5.3.17_0
--->  Activating php5-oracle @5.3.17_0
--->  Cleaning php5-oracle
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
$ arch -i386 /opt/local/bin/php -v
arch: posix_spawnp: /opt/local/bin/php: Bad CPU type in executable

Change History (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…

In the future, please Cc the port maintainer(s).

comment:2 Changed 8 years ago by ryandesign (Ryan Schmidt)

Resolution: invalid
Status: newclosed

Your ports are out of date. Please run "sudo port selfupdate" and "sudo port upgrade outdated".

Note: See TracTickets for help on using tickets.