[MacPorts] #34373: apr failed install with php_imap install, mac OS 10.7.3
#34373: apr failed install with php_imap install, mac OS 10.7.3 --------------------------------+------------------------------------------- Reporter: marzzed@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: php-imap, apr fail | Port: apr --------------------------------+------------------------------------------- Error: Target org.macports.checksum returned: apr-1.4.6.tar.bz2 does not exist in /opt/local/var/macports/distfiles/apr command: "sudo port install php5-imap" latest xcode and macports installed. -- Ticket URL: <https://trac.macports.org/ticket/34373> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * owner: macports-tickets@… => dluke@… * keywords: php-imap, apr fail => Old description:
Error: Target org.macports.checksum returned: apr-1.4.6.tar.bz2 does not exist in /opt/local/var/macports/distfiles/apr
command: "sudo port install php5-imap"
latest xcode and macports installed.
New description: {{{ Error: Target org.macports.checksum returned: apr-1.4.6.tar.bz2 does not exist in /opt/local/var/macports/distfiles/apr }}} command: {{{ sudo port install php5-imap }}} latest xcode and macports installed. -- Comment: Please use: {{{ sudo port clean --all apr }}} Then try again. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Comment(by marzzed@…): I downloaded the right package from apache and then tried again. Now it fails on php5. Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install php5 from logfile: :error:configure Failed to install php5 :debug:configure couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Please attach the entire main.log file so we can see what went wrong. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Comment(by marzzed@…): cleaned php ran update on dependencis macports fetched php. the "sudo port install php5-imap" finally stopped complaining. I now have a functional webserver in another dir (wich is as it should) but no php. Ran the suggested commands (from the install) **** /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so **** wich gives me: /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so [activating module `php5' in /opt/local/apache2/conf/httpd.conf] unable to open configuration file I give up. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Comment(by cal@…): Did you use sudo for that? IIRC apxs needs to write the configuration file to enable a module and the file is probably only writable by root. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Comment(by marzzed@…): actually I didnt. But now I did. no errors but still no php. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Comment(by cal@…): Did you restart apache? How did you determine PHP doesn't work? Is your server properly configured to use mod_php? -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: apr: apr-1.4.6.tar.bz2 does not exist -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: apr -------------------------------+-------------------------------------------- Comment(by marzzed@…): I restarted the computer and ran the load apache command. If my server is configured to use mod_php I am not sure if I understand what you mean. I thought that the install and the following commands should take care of that. I used php with my default apache with no problem. Now all I get is the php scripts written out in plain text on the webpage. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: Trouble installing/activating php5 -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: php5 -------------------------------+-------------------------------------------- Changes (by dluke@…): * owner: dluke@… => ryandesign@… * cc: ryandesign@… (removed) * port: apr => php5 Comment: You probably need to configure apache to process your php files with the php module. php.net recommends: <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: Trouble installing/activating php5 -------------------------------+-------------------------------------------- Reporter: marzzed@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: php5 -------------------------------+-------------------------------------------- Comment(by marzzed@…): well, thanks. I gave it a try (much more time spent than I have). I really have to let this one go. It will be a ubuntu story from here on. to admin: delete this ticket if you want too. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34373: Trouble installing/activating php5 --------------------------------+------------------------------------------- Reporter: marzzed@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: Port: php5 | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: I'm sorry you had trouble getting MacPorts php to work. I'm closing this ticket since I don't see any MacPorts bug. Instructions for setting up MacPorts PHP are in wiki:howto/MAMP#php. If you need further help you should write to the macports-users mailing list. The issue tracker is for bug reports and feature requests, not for support issues. I've fixed the WikiFormatting in the preceding comments. Remember to preview before submitting to ensure your formatting is right. -- Ticket URL: <https://trac.macports.org/ticket/34373#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts