Opened 14 years ago

Closed 14 years ago

#23148 closed defect (invalid)

Error while installing php5-oracle

Reported by: 20.celso@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: php5 oracle bug Cc: ryandesign (Ryan Carsten Schmidt)
Port: php5-oracle

Description

I got a few errors while installing the port named php5-oracle. So I run the same command with the -d flag. Here's the generated .txt

Attachments (1)

php5-oracle.txt (51.3 KB) - added by 20.celso@… 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by 20.celso@…

Attachment: php5-oracle.txt added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Clean the port and try again, and you should see the message that says that you need to download these distfiles manually. Unfortunately Oracle's web site does not let you download these files without first logging in.

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

Celso sent this response by email:

I installed instantclient basic and instantclient sdk, in the folder /opt/oracle/instantclient_10_2. Now how do I tell the install command to look in that folder?

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

That's not how it works. You don't manually install the instantclient. You just manually download the specific distfiles MacPorts wants, and put them in the place where MacPorts looks for them. Then you "sudo port install oracle-instantclient" as usual.

Did you "sudo port clean oracle-instantclient" and "sudo port install oracle-instantclient" as suggested above? If so, you should have seen a message like this one:

$ sudo port install oracle-instantclient
--->  Computing dependencies for oracle-instantclient
--->  Fetching oracle-instantclient
Warning: MacPorts may not be able to download the necessary distfiles for oracle-instantclient.
Warning: If you get a checksum error, please visit http://www.oracle.com/technology/software/tech/oci/instantclient/
Warning: and download these files manually and place them in /opt/local/var/macports/distfiles/oracle-instantclient
 * instantclient-basic-10.2.0.4.0-macosx-x64.zip
 * instantclient-sdk-10.2.0.4.0-macosx-x64.zip

The message tells you what files to download, where to get them from, and where on your hard drive to put them.

comment:4 Changed 14 years ago by 20.celso@…

Sorry about the delay, I clicked preview instead of submit changes...

It worked! Thanks once again!

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.