Re: Recommended upgrade order
Done. On 10/8/16 8:35 PM, Ryan Schmidt wrote: On Oct 8, 2016, at 5:44 PM, Bill Christensen <billc_li...@greenbuilder.com> wrote: Just got a successful install of MySQL 5.7. A couple of notes: Instead of entering sudo -u _mysql mysql_install_db as was the instruction for MySQL 5.6 and earlier (https://trac.macports.org/wiki/howto/MySQL), the instruction sequence is now: sudo /opt/local/lib/mysql57/bin/mysqld --initialize --user=_mysql which creates the db and assigns a default root password (used to be set to blank), followed by sudo port select mysql mysql57 then /opt/local/lib/mysql57/bin/mysql_secure_installation It might also be helpful to include that when you run ps -ax | grep mysql you should expect to see something along the lines of: /opt/local/bin/daemondo --label=mysql57-server --start-cmd /opt/local/lib/mysql57/bin/mysqld --user=_mysql ; --pid=exec /opt/local/lib/mysql57/bin/mysqld --user=_mysql grep mysql if it's running. If the only response is grep mysql then MySQL hasn't started. If you have improvements to make to the instructions in the wiki, please do so. -- Bill Christensen http://SustainableSources.com http://LinkedIn.com/in/billc108 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
question on PHP7.0 install
Previous versions of php.ini contained a line such as: mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock in php7.0, that line does not exist by default. Do I need to define mysql.default_socket for php7 (with the correct mysql version, of course), or not? Will adding such a line mess things up? Thanks. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Recommended upgrade order
Just got a successful install of MySQL 5.7. A couple of notes: Instead of entering sudo -u _mysql mysql_install_db as was the instruction for MySQL 5.6 and earlier ( https://trac.macports.org/wiki/howto/MySQL), the instruction sequence is now: sudo /opt/local/lib/mysql57/bin/mysqld --initialize --user=_mysql which creates the db and assigns a default root password (used to be set to blank), followed by sudo port select mysql mysql57 then /opt/local/lib/mysql57/bin/mysql_secure_installation It might also be helpful to include that when you run ps -ax | grep mysql you should expect to see something along the lines of: /opt/local/bin/daemondo --label=mysql57-server --start-cmd /opt/local/lib/mysql57/bin/mysqld --user=_mysql ; --pid=exec /opt/local/lib/mysql57/bin/mysqld --user=_mysql grep mysql if it's running. If the only response is grep mysql then MySQL hasn't started. On Sat, Oct 8, 2016 at 4:17 PM, Ryan Schmidt <ryandes...@macports.org> wrote: > > > > On Oct 8, 2016, at 14:56, Bill Christensen <billc_li...@greenbuilder.com> > wrote: > > > > That may explain the problems I was having when doing a dry-run install > of MySQL 5.7. > > mysql57 installed for me today, so maybe try it again? > > > ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Recommended upgrade order
Ah. That may explain the problems I was having when doing a dry-run install of MySQL 5.7. Thanks. On Fri, Oct 7, 2016 at 3:17 AM, Ryan Schmidtwrote: > > On Oct 7, 2016, at 3:16 AM, Ryan Schmidt wrote: > > > > The phpXX-mysql ports don't yet have a +mysql57 variant. I was in the > process of trying to add that, but got delayed by mysql57 not building ( > https://trac.macports.org/ticket/52185) > > But you can still use the +mysqlnd variant with MySQL 5.7 or any other > version, which should work fine. > > > ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Recommended upgrade order
I'm planning to upgrade a couple MAMP servers, and wanted to check if any gotchas may be out there. I plan to upgrade: OSX 10.9.5 and 10.10.x to 10.12.x (and obviously xcode) PHP 5.5.x to 7.x MySQL 5.5.x to 5.7.x Does it matter if I do the OS before php/mysql, or the other way around? I'm guessing OS first. -- Bill Christensen http://SustainableSources.com http://LinkedIn.com/in/billc108 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problem w/ MySQL57 install
> On Jul 25, 2016, at 12:04 AM, Bill Christensen < > billc_li...@greenbuilder.com> wrote: > > > > > When I load MySQL and try to connect I get > > > > Can't connect to local MySQL server through socket > '/opt/local/var/run/mysql57/mysqld.sock' (2) > On Mon, Jul 25, 2016 at 4:57 PM, Bradley Giesbrecht <pixi...@macports.org> wrote: > > If the mysql.sock file does not exist and mysql57 is running Just to be clear: I run ps -ax | grep mysql and get only 751 ttys0160:00.01 grep mysql which appears to me to indicate that mysql is NOT running. Correct? > then there is likely a my.cnf options file in one of the paths that mysql > searches. > > http://dev.mysql.com/doc/refman/5.7/en/option-files.html > > Rename or delete the options file if found. > Checked those, renamed. still no joy. > > > — > Brad ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problem w/ MySQL57 install
> On Jul 25, 2016, at 12:04 AM, Bill Christensen < > billc_li...@greenbuilder.com> wrote: > > > > > > When I load MySQL and try to connect I get > > > > Can't connect to local MySQL server through socket > '/opt/local/var/run/mysql57/mysqld.sock' (2) > > > > Any hints on where I'm going wrong? > > On Mon, Jul 25, 2016 at 1:18 PM, Bradley Giesbrecht <pixi...@macports.org> wrote: > Did you install the mysql57-server port? > > sudo port install mysql57-server > sudo port load mysql57-server > > Yes. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problem w/ MySQL57 install
On Mon, Jul 25, 2016 at 12:57 PM, Ryan Schmidt <ryandes...@macports.org> wrote: > > > On Jul 25, 2016, at 2:04 AM, Bill Christensen < > billc_li...@greenbuilder.com> wrote: > > > > Hi folks, > > > > in the instructions at https://trac.macports.org/wiki/howto/MySQL > (written to MySQL56, though I'm using the same instructions to install > MySQL57 instead), it says to run > > > > sudo -u _mysql mysql_install_db > > > > Doing so for MySQL57 gives the message: > > > > [WARNING] mysql_install_db is deprecated. Please consider switching > to mysqld --initialize > > > > I tried > > > > sudo -u _mysql mysqld --initialize > > > > but that gave me > > > > [ERROR] --initialize specified but the data directory has files in > it. Aborting. > > > > which appears to be true Is there a different command I should be > using, or are there some missing options which need to be specified? > > Did you check https://trac.macports.org/wiki/howto/MySQL#mysql_upgrade ? > > No, I hadn't, as the db install is new and I was following the instructions from the top down. I hadn't gotten that far yet. running sudo /opt/local/lib/mysql56/bin/mysql_upgrade -u root -p results in Got error: 2002: Can't connect to local MySQL server through socket '/opt/local/var/run/mysql57/mysqld.sock' (2) while connecting to the MySQL server ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Problem w/ MySQL57 install
Hi folks, in the instructions at https://trac.macports.org/wiki/howto/MySQL (written to MySQL56, though I'm using the same instructions to install MySQL57 instead), it says to run sudo -u _mysql mysql_install_db Doing so for MySQL57 gives the message: [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize I tried sudo -u _mysql mysqld --initialize but that gave me [ERROR] --initialize specified but the data directory has files in it. Aborting. which appears to be true Is there a different command I should be using, or are there some missing options which need to be specified? When I load MySQL and try to connect I get Can't connect to local MySQL server through socket '/opt/local/var/run/mysql57/mysqld.sock' (2) Any hints on where I'm going wrong? Thanks ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Imagick version?
On 5/24/16 11:50 AM, Bjarne D Mathiesen wrote: Ryan Schmidt wrote: 3) in my experience, I always have to force rebuild php\d{2}-imagick whenever ImageMagick is updated Out of curiosity, what problems did you encounter, other than the warning message, if you did not rebuild? just got the error-message whenever I ran a script - and I've got some php scripts that're running monthly / weekly / daily / 15 min ; but should only send me an email if they encounter problems - and this was regarded as a problem ;-) so I got a lot of un-necessary error reports FYI, the latest update of ImageMagick appears to have fixed the warnings. I also had not seen any specific problems, just the warnings. But you know, when a program tells you it may be incompatible with a dependency's version, it's probably best to look into upgrading one or downgrading the other. -- Bill Christensen http://SustainableSources.com http://LinkedIn.com/in/billc108 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Imagick version?
Thanks. I ran the force upgrade and restarted Apache. I'm still seeing the same warning though with ImageMagick @6.9.4-1_0+x11 Next suggestion? On Mon, May 23, 2016 at 2:56 AM, Bjarne D Mathiesen < macint...@mathiesen.info> wrote: > You'll just have to re-compile php55-imagick : > > This will take care of all of your php\d{2}-imagick versions > > port -q installed name:imagic \ > | while read -a port > do port -n upgrade --force ${port[0]} > done > > but more explicitly for just php55-imagick : > > port -n upgrade --force php55-imagick > > You'll have to re-start Apache also after having made this change ;-) > > -- > Bjarne D Mathiesen > Korsør ; Danmark ; Europa > -- > denne besked er skrevet i et totalt M$-frit miljø > MacOS X 10.11.5 El Capitan (15F34) > 2 x 3,46 GHz 6-Core Intel Xeon ; 48 GB 1333 MHz DDR3 ECC > ATI Radeon HD 5770 1024 MB > ___ > macports-users mailing list > macports-users@lists.macosforge.org > https://lists.macosforge.org/mailman/listinfo/macports-users > ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Imagick version?
Hey all, One of my servers is running the latest php5.5 on Mac 10.9.5. The last few updates of ImageMagick have resulted in this warning when I run any updates using the WordPress command line interface (wp-cli.org): PHP Warning: Version warning: Imagick was compiled against Image Magick version 1682 but version 1684 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0 If I switch the active version back a few updates to ImageMagick @6.9.2-10_1+x11, the warnings go away. I tried installing php55-imagick 3.4.1, but no change. Anyone know if this is a real problem, or can I just ignore the warnings and run ImageMagick @6.9.4-1_0+x11? Or what I can do to get a compatible Imagick version? Thanks! -- Bill Christensen http://SustainableSources.com http://LinkedIn.com/in/billc108 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Command Line Tools warning
Ah, that explains why wireshark updates have failed. Thanks. One more mystery solved! On Fri, Oct 30, 2015 at 8:59 AM, Mathieu Deaudelin-Lemay < macpo...@mdeaudelin.net> wrote: > > or should I go ahead and install 7.1? > > Just for the record, if you are planning on staying on OS X 10.10 > (Yosemite), do not upgrade to Xcode 7 as it does not include the SDK for > that OS (only 10.11). > > This shouldn't be a problem much of the time, but there are some ports > that will fail to build (e.g. wireshark), as they'll be looking for a SDK > matching your system version and will fail to find it. > > > ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problem installing macports
On 10/12/15 5:39 PM, Ryan Schmidt wrote: On Oct 12, 2015, at 12:38 PM, Sepideh Razavi wrote: So I tried cleaning all the ports using "port clean --all all" and it didn't help. Also uninstalled macports and built it again from the source but still get the same error no matter what port I am trying to install. For instance when grabbing vim I get: hawkeye:MacPorts-2.3.3 srazavi$ sudo port install vim ---> Computing dependencies for vim ---> Dependencies to be installed: gettext expat libiconv ncurses ---> Fetching archive for expat ---> Attempting to fetch expat-2.1.0_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/expat ---> Attempting to fetch expat-2.1.0_0.darwin_14.x86_64.tbz2.rmd160 from http://packages.macports.org/expat Warning: Failed to verify signature for archive! Can you use the debug flag (-d) to show us more about why the signature verification failed? sudo port -d install vim I'm seeing similar on several machines when trying to selfupdate MacPorts: > sudo port -d -v selfupdate DEBUG: Copying /Users/billc/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 4.29 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 4.57 bytes/sec total size is 512 speedup is 4.57 DEBUG: failed verification with key /opt/local/share/macports/macports-pubkey.pem DEBUG: openssl output: Verification Failure child process exited abnormally DEBUG: Failed to verify signature for MacPorts source! while executing "macports::selfupdate [array get global_options] base_updated" Error: Failed to verify signature for MacPorts source! To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source! ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
rsync server problems (was: Re: Problem installing macports)
On 10/12/15 6:41 PM, Ryan Schmidt wrote: On Oct 12, 2015, at 6:24 PM, Bill Christensen wrote: I'm seeing similar on several machines when trying to selfupdate MacPorts: sudo port -d -v selfupdate DEBUG: Copying /Users/billc/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 4.29 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 4.57 bytes/sec total size is 512 speedup is 4.57 DEBUG: failed verification with key /opt/local/share/macports/macports-pubkey.pem DEBUG: openssl output: Verification Failure child process exited abnormally DEBUG: Failed to verify signature for MacPorts source! while executing "macports::selfupdate [array get global_options] base_updated" Error: Failed to verify signature for MacPorts source! To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source! ___ That's a problem verifying the signature of MacPorts base source when doing a selfupdate. That's reported here: https://trac.macports.org/ticket/49233 It likely has to do with the rsync server's current problems. That's different to Sepideh Razavi's problem which is a failure to verify a port archive's signature. Port archives don't have anything to do with rsync so this will have a different reason, and we need to see the debug output from his system to determine what it is. Ok. Tried the suggested "sudo port sync" from that ticket, it failed on rsync also: $ sudo port sync Password: ---> Updating the ports tree Error: Synchronization of the local ports tree failed doing rsync port sync failed: Synchronization of 1 source(s) failed ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Sophos Antivirus claims port 'zlib' ships a Virus/Spyware called "iPh/WireLurk-G"...
Saw the same a few minutes ago myself. On Fri, Sep 4, 2015 at 5:18 PM, Marko Käningwrote: > Hi folks, > > today I got a warning from my "Sophos Antivirus" w.r.t. MacPorts!!! > > It claimed that zlib’s dylib file > > /opt/local/lib/libz.1.2.8.dylib > > carried a virus called > > iPh/WireLurk-G > > and I wonder now whether this was > - actually true or > - a false positive or > - whether Sophos is trying to trade snake oil to me… > > > It was very weird, that at some stage the dylib file - despite being > readable - > --- > $ ls -l /opt/local/lib/libz.1.2.8.dylib > -rwxr-xr-x 1 root admin 76404 Nov 15 2013 /opt/local/lib/libz.1.2.8.dylib > --- > could _not_ be read by any user. > Later it was readable again... > Was I tricked by some OSX internals (triggered by Sophos’ > quarantine workflow) > or indeed by a virus? > > > Is there a way to verify whether the files installed by port “zlib” are > actually those > currently to be found in MacPorts’ own archives? Are there verifiable > hashes for files > installed by a port somewhere? > > Greets, > Marko > > ___ > macports-users mailing list > macports-users@lists.macosforge.org > https://lists.macosforge.org/mailman/listinfo/macports-users > ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Not really MacPorts problem, I don't think.
On 1/24/15 12:32 AM, Joshua Root wrote: On 2015-1-24 14:40 , William H. Magill wrote: On Jan 23, 2015, at 2:36 AM, Joshua Root j...@macports.org wrote: At 8:42 PM -0600 1/22/15, Ryan Schmidt wrote: So launchd is launching apache too early. I believe there are some keys one can use in a launchd plist that would affect when launchd tries to launch a service. If you can find a launchd plist key/value that fixes this issue, MacPorts could be enhanced to offer portfile authors a way to use that key, or to use that key/value by default even. I'm not expert, but would the NetworkState key help? See: http://launchd.info/ Goto Configuration, scroll down to ...Depending on Network Availability: We do have startupitem.netchange. I'm confused. The implication of startupitem.netchange : Cause the daemon to be restarted when a change in network state is detected. https://guide.macports.org/chunked/reference.startupitems.html is different from NetworkState Setting this subkey to true will start the job when/while any network is/becomes available. Setting this subkey to false will start the job when/while all network connections are down. http://launchd.info Yes, it's not the same thing, but it would probably fix the problem that started this thread. And there is no indication on the guide.macports.org page as to what the output of startupitem.netchange might generate. i.e. no translation between the syntax of launchd and startupitems. It doesn't change how launchd handles the job, it simply adds --restart-netchange to the arguments passed to daemondo. As I've said many times in the past, the StartupItem code could really use some love. Especially allowing jobs to not use daemondo if they support running directly from launchd, and exposing more of launchd's functionality. - Josh I agree, and I have hope that this thread might help me out with the same problem. Not just Apache, but two other important services also need manual kicks on startup (postgresql and fetchmail). At the same time, a number of other server processes also installed via MacPorts start up just fine every time. Question: would this problem of Apache launching too early be influenced by DNS? For instance, I've got some named SSL certs on the machine in question, and if I try to start a backup off network without disabling the SSL conf, Apache chokes. So I'm thinking that maybe in normal production startup it's also not getting a response from the dns matching the name and the IP before Apache tries to start - or the secondary IP addresses haven't kicked in yet, or something along those lines. I think I've heard it's possible to set various startup items to early or at some delayed timing, but I have no clue as to how that would be done. How early is early? Is there a way to start them in a series to insure everything kicks on in the proper order? How can we find out where these are failing to start? Specifics, if you've got 'em, please. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: libintl.8.dylib not loaded?
On 10/27/14, 12:08 AM, Ryan Schmidt wrote: On Oct 26, 2014, at 11:46 PM, Bill Christensen wrote: Having trouble updating MacPorts. I'm running 10.9.5 billc$ bash --version dyld: Library not loaded: /opt/local/lib/libintl.8.dylib Referenced from: /opt/local/bin/bash Reason: image not found --- Updating MacPorts base sources using rsync dyld: Library not loaded: /opt/local/lib/libintl.8.dylib Referenced from: /bin/sh Reason: image not found Error: Error synchronizing MacPorts sources: To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: How to fix? Install the gettext port. sudo port install gettext Tried. Error: Requested variants do not match original selection +universal. Please use the same variants again, perform 'port clean gettext' or specify the force option (-f). To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gettext failed Also tried: sudo port clean gettext // seemed to work fine sudo port install gettext Got: --- Computing dependencies for gettext --- Fetching archive for gettext --- Attempting to fetch gettext-0.19.3_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/gettext --- Attempting to fetch gettext-0.19.3_0.darwin_13.x86_64.tbz2.rmd160 from http://packages.macports.org/gettext --- Installing gettext @0.19.3_0 --- Activating gettext @0.19.3_0 Error: org.macports.activate for port gettext returned: Please see the log file for port gettext for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/gettext/main.log port installed says: gettext @0.19.2_0 gettext @0.19.2_0+universal gettext @0.19.3_0+universal gettext @0.19.3_0 I've tried activating each one, and each fails. The log at /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/gettext/main.log says: version:1 :debug:main epoch: in tree: 0 installed: 0 :debug:main expat 2.1.0_0 exists in the ports tree :debug:main expat 2.1.0_0 is the latest installed :debug:main expat 2.1.0_0 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat :debug:main OS darwin/13.4.0 (Mac OS X 10.9) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main Executing variant universal provides universal :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! expat 2.1.0_0 = expat 2.1.0_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main libiconv 1.14_0 exists in the ports tree :debug:main libiconv 1.14_0 is the latest installed :debug:main libiconv 1.14_0 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv :debug:main OS darwin/13.4.0 (Mac OS X 10.9) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main universal variant already exists, so not adding the default one :debug:main Executing variant universal provides universal :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! libiconv 1.14_0 = libiconv 1.14_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main ncurses 5.9_2 exists in the ports tree :debug:main ncurses 5.9_2 is the latest installed :debug:main ncurses 5.9_2 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt
Re: libintl.8.dylib not loaded?
On 10/27/14, 9:32 PM, Lawrence Velázquez wrote: On Oct 27, 2014, at 10:27 PM, Bill Christensen billc_li...@greenbuilder.com wrote: :msg:activate --- Activating gettext @0.19.3_0 :debug:activate Using /usr/bin/tar :debug:activate Using /usr/bin/bzip2 :info:activate dyld: Library not loaded: /opt/local/lib/libintl.8.dylib :info:activate Referenced from: /bin/sh :info:activate Reason: image not found Did you replace /bin/sh with a MacPorts shell? vq Yes. Do I need to undo that? If so, how? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: libintl.8.dylib not loaded?
On 10/27/14, 9:32 PM, Lawrence Velázquez wrote: On Oct 27, 2014, at 10:27 PM, Bill Christensen billc_li...@greenbuilder.com wrote: :msg:activate --- Activating gettext @0.19.3_0 :debug:activate Using /usr/bin/tar :debug:activate Using /usr/bin/bzip2 :info:activate dyld: Library not loaded: /opt/local/lib/libintl.8.dylib :info:activate Referenced from: /bin/sh :info:activate Reason: image not found Did you replace /bin/sh with a MacPorts shell? vq Yes... what I ran was: sudo port install bash +universal sudo mv /bin/bash{,-osx} ; sudo ln /opt/local/bin/bash /bin/bash sudo mv /bin/sh{,-osx} ; sudo ln /bin/bash /bin/sh in an attempt to minimize exposure to Shellshock. IIRC I got the above from someone on this list. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
libintl.8.dylib not loaded?
Having trouble updating MacPorts. I'm running 10.9.5 billc$ bash --version dyld: Library not loaded: /opt/local/lib/libintl.8.dylib Referenced from: /opt/local/bin/bash Reason: image not found --- Updating MacPorts base sources using rsync dyld: Library not loaded: /opt/local/lib/libintl.8.dylib Referenced from: /bin/sh Reason: image not found Error: Error synchronizing MacPorts sources: To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: How to fix? Thanks. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
anti-shellshock suggestions
Anyone got any? Thanks. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
problem with ImageMagick @6.8.9-6_0+x11
Hi All, The most recent version of ImageMagick (6.8.9-6_0+x11) fails to process WordPress image uploads properly. I have not tested with any other systems. Setup: Mac 10.9.4, Apache 2.2.27, PHP 5.5.15 MySQL 5.5.38 PHP Shortcode (?)is OFF. Also occurs on a system with Mac 10.7.5, Apache 2.2.27, PHP 5.3.28, MySQL 5.1.72 with PHP Shortcode ON. Expected behavior: When an image is uploaded via WordPress, ImageMagick is called to create one or more pre-defined smaller versions, for example a 150x150 px thumbnail. All images are then visible and available via the 'Media Library' in WordPress admin, so they can be included in various posts. Actual behavior: The original and smaller versions appear to be created correctly as verified by direct inspection in the uploads repository on the server. The Media Library displays the image name but does not display the image itself and any attempts to insert the image into a post will go through the proper steps but the image does not display. Workaround: Reverting to ImageMagick @6.8.9-1_0+x11 allows images to upload properly. I have also reported this on WordPress http://wordpress.org/support/topic/imagemagick-689-6_0x11-fails-to-process-wordpress-images-properly?replies=1#post-5921323 and have submitted a MacPorts ticket https://trac.macports.org/ticket/44728, but other software which uses ImageMagick may be experiencing similar problems. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: BIND not updating the root servers
Replying to myself On further inspection (examining the results of what files BIND installs using port contents bind9) I'm seeing a Jan 3, 2013 version of the root servers in /opt/local/var/named/db.cache.dist. And the June 2, 2014 version is at /opt/local/var/named/db.cache . I have no idea if it's really in use though, and WebMin at least thinks it's not. Any pointers appreciated. Thanks. On 8/15/14 10:01 PM, Bill Christensen wrote: Hi all, I recently noticed that the MacPorts version of BIND (I'm running the latest - BIND 9.10.0-P2) is apparently not updating the root servers. Looking at the logs to correct another problem, I'm seeing: 14-Aug-2014 13:14:08.142 info: host unreachable resolving 'd.gtld-servers.net//IN': 2001:503:ba3e::2:30#53 14-Aug-2014 13:14:08.215 info: host unreachable resolving 'b.gtld-servers.net/A/IN': 2001:503:231d::2:30#53 14-Aug-2014 13:14:08.220 info: host unreachable resolving 'c.gtld-servers.net/A/IN': 2001:503:231d::2:30#53 14-Aug-2014 13:14:08.522 info: host unreachable resolving 'd.gtld-servers.net//IN': 2001:503:83eb::2:31#53 14-Aug-2014 13:14:08.595 info: host unreachable resolving 'c.gtld-servers.net/A/IN': 2001:503:a83e::2:31#53 14-Aug-2014 13:14:08.793 info: host unreachable resolving 'b.gtld-servers.net//IN': 2001:503:c27::2:30#53 14-Aug-2014 13:14:08.794 info: host unreachable resolving 'b.gtld-servers.net//IN': 2001:dc3::35#53 14-Aug-2014 13:14:08.795 info: host unreachable resolving 'c.gtld-servers.net//IN': 2001:503:c27::2:30#53 14-Aug-2014 13:14:08.796 info: host unreachable resolving 'c.gtld-servers.net//IN': 2001:dc3::35#53 The root servers file that I've apparently been running off of hasn't changed since 2008: ; This file is made available by InterNIC ; under anonymous FTP as ; file/domain/named.root ; on server FTP.INTERNIC.NET ; -OR-RS.INTERNIC.NET ; ; last update:Feb 04, 2008 ; related version of root zone: 2008020400 The current version, available at: ftp://ftp.internic.net/domain/named.root was last updated on June 2, 2014. How (and where) do I insert that? I pulled the above file via WebMin config backup, but it doesn't tell me where that root file lives. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Startup tasks
On 7/11/14 12:58 AM, Ryan Schmidt wrote: On Jul 11, 2014, at 12:50 AM, Bill Christensen billc_li...@greenbuilder.com wrote: Though I've followed all the instructions presented while installing I'm getting spotty coverage on the starting of various services on reboot. For instance, Apache, MySQL55 and Mailman all start on boot up. However, though there are symlink items in /Library/LaunchDaemons for Fetchmail and PostgreSQL93 (org.macports.fetchmail.plist and org.macports.postgresql93-server.plist), and they will both start with manual commands, neither starts on boot. My current Fetchmail start command (run as a regular user) is: /opt/local/bin/fetchmail -d 500 --fetchmailrc /etc/fetchmailrc --nodetach --nosyslog Do you have MacPorts installed on a partition different from your OS X startup partition? I have noticed this problem when using such a configuration. (sorry, forgot to reply to list) No, it's all on one drive. But it is on an external drive. I don't think that should cause any problem though, do you? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Trouble with Mailman install
On 7/11/14 12:59 AM, Ryan Schmidt wrote: On Jul 10, 2014, at 11:11 PM, Bill Christensen billc_li...@greenbuilder.com wrote: On Thu, Jul 10, 2014 at 6:55 PM, Ryan Schmidt ryandes...@macports.org wrote: On Jul 10, 2014, at 2:20 PM, Bill Christensen billc_li...@greenbuilder.com wrote: I changed the setting in MacPorts' file from --with-mail-gid=_mailman to --with-mail-gid=staff and attempted to reinstall, but I'm getting an error that it's Unable to open port - invalid command name '--with-mail-gid=staff'. You have a syntax error in your portfile. Perhaps you forgot to add the backslash at the end of the preceding line. If you show us the modifications you made, we made be able to be more precise. Ok, got it. I had put a comment line directly above --with-mail-gid=staff to remind myself what I had done. I had to pull that out of the configure.args block. It also appears to work better if I abstract it a bit by using; set mmgroup2staff then after the note to myself so I can revert if needed, change the --with-mail-gid as below #BC MOD was --with-mail-gid=${mmgroup} \ configure.args --with-mail-gid=${mmgroup2} \ You can't do it that way because in the Tcl language, comments are extended to the next line by backslashes. You probably want to just put, in a section by itself: #BC MOD was --with-mail-gid=${mmgroup} set mmgroup2staff configure.args-append --with-mail-gid=${mmgroup2} Bingo. That worked. No more errors. Thanks! ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Startup tasks
On Fri, Jul 11, 2014 at 4:01 AM, Ryan Schmidt ryandes...@macports.org wrote: On Jul 11, 2014, at 2:11 AM, Bill Christensen wrote: On 7/11/14 12:58 AM, Ryan Schmidt wrote: Do you have MacPorts installed on a partition different from your OS X startup partition? I have noticed this problem when using such a configuration. No, it's all on one drive. But it is on an external drive. I don't think that should cause any problem though, do you? I don't know. In my case, the problem was that MacPorts was on a different partition than the OS X partition, which OS X hadn't deigned to mount yet by the time that it looked for launchd plists on it, so things didn't get launched at startup. Could it be the $Paths? I currently have in /etc/paths: /opt/bin /opt/sbin /opt/local/bin /opt/local/sbin /opt/local/bin/php /opt/local/apache2/bin /opt/local/lib/postgresql93/bin - not sure about this one /usr/bin /bin /usr/sbin /sbin /usr/local/bin The manual startup command for PostgreSQL is: sudo su postgres -c '/opt/local/lib/postgresql93/bin/initdb -D /opt/local/var/db/postgresql93/defaultdb' and the manual one i use for Fetchmail is /opt/local/bin/fetchmail -d 500 --fetchmailrc /etc/fetchmailrc --nodetach --nosyslog which I *think* should be covered by the paths above. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Trouble with Mailman install
Hey folks, I'm doing an upgrade/reinstall on one of my servers, and when I put Mailman back on I'm getting a group mismatch error. It's happened to me before, but I don't remember the exact procedure to make it work properly. The setup: Moving from Mac OS 10.8.5 to 10.9.4, on a MAMP setup, everything installed using MacPorts. Upgrading MySQL, PHP, and PostgreSQL in the process. MacPorts hasn't upgraded Mailman beyond 2.1.13 (a separate issue I may want to address later). Right now I'm doing test runs on a backup to make sure all the pieces and parts will work properly when I do the update for real. I have all the other parts in place but I'm now getting the dreaded group mismatch error from Mailman. When I first installed everything I installed Mailman before PostgreSQL, and the feedback told me that I needed either to compile Mailman as --with-mail-gid=postgresql or change the mail server (standard Mac installation of Postfix) to run as group _mailman. I uninstalled and reinstalled Mailman and now it's telling me that I need to compile Mailman as --with-mail-gid=staff. I changed the setting in MacPorts' file from --with-mail-gid=_mailman to --with-mail-gid=staff and attempted to reinstall, but I'm getting an error that it's Unable to open port - invalid command name '--with-mail-gid=staff'. Anyone have any ideas of where to go from here? I'd rather not do a direct download/compile of Mailman if possible, as MacPorts spreads the pieces and parts into a number of directories and I'd probably have a heck of a time getting all the paths working correctly again. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Trouble with Mailman install
On Thu, Jul 10, 2014 at 6:55 PM, Ryan Schmidt ryandes...@macports.org wrote: On Jul 10, 2014, at 2:20 PM, Bill Christensen billc_li...@greenbuilder.com wrote: I changed the setting in MacPorts' file from --with-mail-gid=_mailman to --with-mail-gid=staff and attempted to reinstall, but I'm getting an error that it's Unable to open port - invalid command name '--with-mail-gid=staff'. You have a syntax error in your portfile. Perhaps you forgot to add the backslash at the end of the preceding line. If you show us the modifications you made, we made be able to be more precise. Ok, got it. I had put a comment line directly above --with-mail-gid=staff to remind myself what I had done. I had to pull that out of the configure.args block. It also appears to work better if I abstract it a bit by using; set mmgroup2staff then after the note to myself so I can revert if needed, change the --with-mail-gid as below #BC MOD was --with-mail-gid=${mmgroup} \ configure.args --with-mail-gid=${mmgroup2} \ Those were the only changes I made. Though it installs now, it's still throwing errors: Group mismatch error. Mailman expected the mail wrapper script to be executed as group _mailman, but the system's mail server executed the mail script as group staff. Try tweaking the mail server to run the script as group _mailman, or re-run configure, providing the command line option `--with-mail-gid=staff'. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Startup tasks
Hi all, More fun in my upgrade from OS 10.8.5 to 10.9.4. Though I've followed all the instructions presented while installing I'm getting spotty coverage on the starting of various services on reboot. For instance, Apache, MySQL55 and Mailman all start on boot up. However, though there are symlink items in /Library/LaunchDaemons for Fetchmail and PostgreSQL93 (org.macports.fetchmail.plist and org.macports.postgresql93-server.plist), and they will both start with manual commands, neither starts on boot. My current Fetchmail start command (run as a regular user) is: /opt/local/bin/fetchmail -d 500 --fetchmailrc /etc/fetchmailrc --nodetach --nosyslog I've tried setting it up on Webmin so I can start it that way in a pinch (I can start PostgreSQL that way now), but even though I've set the Webmin config to run the daemon as a plain vanilla user and have chown'ed fetchmailrc to that user I'm getting: Failed to start fetchmail : fetchmail: WARNING: Running as root is discouraged. File /etc/fetchmailrc must be owned by you. so even that isn't working. Of course I'd much rather that both PostgreSQL and Fetchmail kick off on bootup. Any clues welcome. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Apache 2.4.9 stable?
Just curious... I see that Apache 2.4.9 was announced in March (and that folks here have been working on a port of 2.4.x for 2 years: https://trac.macports.org/ticket/35824). Any idea when the Apache2 port will get bumped from 2.2.27 to 2.4.x? The PCI compliance folks are complaining about my Apache version. Thanks ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Apache 2.4.9 stable?
On 7/7/14 7:53 PM, Ryan Schmidt wrote: On Jul 7, 2014, at 12:52 PM, Bill Christensen wrote: Just curious... I see that Apache 2.4.9 was announced in March (and that folks here have been working on a port of 2.4.x for 2 years: https://trac.macports.org/ticket/35824). Any idea when the Apache2 port will get bumped from 2.2.27 to 2.4.x? The PCI compliance folks are complaining about my Apache version. The apache24-devel was created so users could test Apache 2.4.x before we roll it out to everyone. Let me know if apache24-devel works for you. Ok. I may have to hold off on the Apache update this round (I'm having plenty of fun with the other upgrades - Mavericks, Xcode, MySQL, PHP and probably PostgreSQL), but will probably give it a try just for grins if time allows. This is for a production machine. If it works, great... if not, I'll just stick with 2.2.27. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Update Mailman port?
Hi folks, The MacPorts version of Mailman is currently 2.1.13_0. There's a fix that could be useful to me in the current stable version, 2.1.18-1, released a couple days ago. I see the port listed as nomaintainer. How do I get that one bumped to the latest version? Thanks! ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Update Mailman port?
On 5/9/14 2:09 PM, Daniel J. Luke wrote: On May 9, 2014, at 2:59 PM, Bill Christensen billc_li...@greenbuilder.com wrote: The MacPorts version of Mailman is currently 2.1.13_0. There's a fix that could be useful to me in the current stable version, 2.1.18-1, released a couple days ago. I see the port listed as nomaintainer. How do I get that one bumped to the latest version? The best way would be to offer to maintain the port (and submit a patch). -- Understood and appreciated. I currently have no idea what's involved in patching and maintaining a port. Is there documentation somewhere? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Lost port command
On 5/3/14 2:49 PM, Jan Stary wrote: On May 03 12:27:18, billc_li...@greenbuilder.com wrote: I installed a non-MacPorts package on my server the other day - WordPress command line interface (wp-cli) which uses the wp command. It's working properly. But I just went to do my regular updates using MacPorts, and I've lost my port command. I'm getting command not found. Are you sure this installation did not fuck up your PATH? Some insane installations do. I suspect it did. There was some manual stuff that someone else did which probably overwrote it. How do I (a) re-establish the port command It is most probably still there, just not in your PATH. Can you run /opt/local/bin/port ? Thank you. That works. So do I just need to run something like export PATH=$PATH:/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin Fortunately, I saved the terminal output from what the other guy did just in case, and have a parallel dev machine to refer to. This is from an echo $PATH command early in that session. The parallel machine shows: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Are the repeats in that unneeded? I'm seeing several /opt/local/bin instances, for example. and (b) keep the wp command? Install this software into /usr/local (or somewhere) and set your PATH accordingly. Right. So what happened is that the existing PATH to /opt/local/bin/port got wiped, I guess. Better yet, create a proper macport of this software, then install it via macports. Yeah, I checked for a port first and there isn't any yet. It's a fairly new creature. I don't know how to create a port, and though it would be a good way to give back I don't have the bandwidth at the moment to put a lot of time into something like that. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Which SOAP?
Hi folks, I need to install SOAP on a 10.8.5/Apache2.x/PHP 5.3.x machine, and I have no idea which of the variants to install. It's for a FedEx plugin for WooCommerce. http://www.woothemes.com/products/fedex-shipping-module/ Thanks in advance. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
SOAP Nope. (Was: Re: Which SOAP?)
On 1/28/14 9:29 PM, Ryan Schmidt wrote: On Jan 28, 2014, at 21:15, Bill Christensen billc_li...@greenbuilder.com wrote: I need to install SOAP on a 10.8.5/Apache2.x/PHP 5.3.x machine, and I have no idea which of the variants to install. It's for a FedEx plugin for WooCommerce. http://www.woothemes.com/products/fedex-shipping-module/ SOAP is not a program or a library; it’s a protocol for exchanging information between systems: http://en.wikipedia.org/wiki/SOAP There are probably hundreds of different libraries implementing the SOAP protocol in a variety of languages. If, for example, you want to write PHP code to use the SOAP protocol to communicate with FedEx or any other SOAP-compatible service, PHP includes a SOAP module. http://php.net/soap In MacPorts, it’s not installed by default, but you can install it separately. Which port you use to do so depends on which port you’re using for PHP. If you’re using the php5 port, the SOAP module is in the port php5-soap. If you’re using the php53 port, the SOAP module is in the port php53-soap. If you’re using the php54 port, the SOAP module is in the port php54-soap. If you’re using the php55 port, the SOAP module is in the port php55-soap. Thanks for the super quick responses, all. I'm running php 5.3.28, so I installed php53-soap. Unfortunately, that didn't do the trick. Restarted Apache, nothing. Even rebooted the server, still no joy. Attempting to activate the plugin gives me an error that it requires SOAP support on the server/hosting to function, with a link to http://php.net/manual/en/class.soapclient.php Any further suggestions? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Got it (was Re: Which SOAP?)
On 1/28/14 9:31 PM, Ryan Schmidt wrote: On Jan 28, 2014, at 21:26, Jeremy Lavergne jer...@lavergne.gotdns.org wrote: Sounds like you’re after PHP’s extension for SOAP. I’d recommend php54-soap in general, but if you want MacPorts to auto-upgrade you beyond PHP 5.4 then use php5-soap. php5-soap (and all of the other ports whose names begin with php5 and not php53, php54, php55, etc.) are deprecated and won’t be updated past version 5.3.x, so you should migrate to the new php53, php54, php55, etc. ports. Thanks all. Turns out I've got php5 port installed, so php5-soap is working for now. And yes, I probably ought to upgrade soon. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: MySQL port 3306 open to local, closed to other?
Nothing in /opt/local/etc/mysql5 I found: /opt/local/lib/mysql5/bin/mysql_config /opt/local/bin/mysql_config5 both of which contain if [ 0 -eq 0 ]; then port=0 else port=3306 fi and /opt/local/include/mysql5/mysql/my_config.h which consists of a whole bunch of commented-out stuff, and that's it. Since it's apparently an 'optional' file, if I just created a file at /opt/local/etc/mysql5/my.cnf which contains bind-address= 127.0.0.1, would that do the trick? On Sat, Jan 4, 2014 at 9:12 PM, Jeremy Lavergne jer...@lavergne.gotdns.orgwrote: The default is likely in /opt/local/etc/ You could run find in that directory for any “*.cnf” files. find /opt/local/etc -type f -name “*.cnf On Jan 4, 2014, at 22:10, Jeremy Lavergne jer...@lavergne.gotdns.org wrote: Running `port contents …` will list all the files of a given package, including any default config files. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
MySQL port 3306 open to local, closed to other?
Hi folks, I'm sure it's in there *somewhere*, but I haven't been able to find the mysql my.conf or whatever the equivalent is in the MacPorts version. I need to close off port 3306 to outside traffic (but leave it open to localhost) to satisfy the credit card PCI security guys, and I'm told putting skip-networking in the config file will do just that. Where exactly would that mysql config file be? Does it matter where in the order I add skip-networking? Thanks! -- Bill Christensen http://SustainableSources.com ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Fetchmail with SSL?
Hi folks, The most recent update of Fetchmail appears to have broken because my installation requires SSL, and the portfile explicitly states --without-ssl. I've modified the portfile so that it says --with-ssl, and ran a sudo port upgrade fetchmail command, but I'm not seeing any change. I'm still getting SSL is not enabled at ssl on startup. Any ideas on what I need to do to get this back up and running? Thanks. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Fetchmail with SSL?
On 2/7/13 9:06 PM, Ryan Schmidt wrote: On Feb 7, 2013, at 20:53, Bill Christensen wrote: The most recent update of Fetchmail appears to have broken because my installation requires SSL, and the portfile explicitly states --without-ssl. I've modified the portfile so that it says --with-ssl, and ran a sudo port upgrade fetchmail command, but I'm not seeing any change. I'm still getting SSL is not enabled at ssl on startup. sudo port upgrade fetchmail will not rebuild fetchmail if MacPorts doesn't think it's outdated. Yes, the port says --without-ssl -- unless you select the +ssl variant, which sounds like what you want. Please revert the changes you made, then run: sudo port install fetchmail +ssl Thanks. That worked. So when I run my normal monthly updates is there anything that I'll need to do to keep fetchmail at the +ssl variant? 'Cuz it didn't stay there this time. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
MAMP using Nginx?
Hi all, I'm interested in experimenting with a MAMP-like installation, substituting Nginx for Apache. Anything special I should know? I've done a number of MAMPs with MacPorts. TIA. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: FTP and WordPress in mac ports environment
On 6/14/12 1:28 PM, Rainer Müller wrote: On 2012-06-14 19:54, Érico wrote: And my environment is the following : apache2 @2.2.22_2+preforkmpm (active) php5 @5.3.12_0+apache2 (active) wordpress @3.2.1_0 (active) Do I need to set something for SSH on it ? As I said nothing works with FTP ... I mean , plugin install, plugin updates, themes install, wordpress upgrade , etc ... I don't think you are running a FTP server, are you? At least you did not mention which FTP server you would be using or how you configured it... However, I guess you don't want to operate a FTP server at all and rather should set the FS_METHOD in your wp-config.php to 'direct'. This selects a mode in which files are manipulated directly without relying on a FTP connection. Doesn't the FS_METHOD = direct setting open you up to huge security holes? So says the codex... I would love to be able to have one-click updating on all of my 50+ wordpress installs, but I'm not willing to chance the security problems. If someone has a better way, I'd love to hear it. The only thing I've ever gotten out of the WordPress forums is it's a server thing. Despite my already having stated that I'm running the dang server. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Setup problem with Mailman
Hi all, (cross posted to Macports-users and Mailman-users lists, as I'm not sure where the answer to the problem is more likely to come from) I upgraded a server the other day to Mac OS 10.7, and due to a new version of Macports required an uninstall/reinstall of Mailman. As seems to be the usual case, the new Mailman/Fetchmail install needs some tweaks to get it working right - the Dreaded Group Mismatch Error in Mailman, SSL required but configured --without-ssl in Fetchmail, etc... I've fought my way through all of those, but... Currently it's telling me that the location of the MDA, which in the previous Fetchmailrc file was /opt/local/libexec/mailman/mail/mailman and worked fine before the upgrade, is a directory which doesn't exist. And that's true, it doesn't. So, the question is, where did it move to? Where *should* Fetchmail be told that the Mailman MDA is? Thanks for relieving my frustration. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Setup problem with Mailman
Correction: The problem below occurred because Mailman had run into an error and hadn't installed that directory. I figured that one out and it's installing again. Now I'm back to a Group Mismatch error once again, and adding the configure line --with-mail-gid=staff (and removing the line --with-mail-gid=${mmgroup} ) as suggested doesn't fix it. Next step? It seems I go through this every time I do an install of Mailman... On 10/10/11 8:52 PM, Bill Christensen wrote: Hi all, (cross posted to Macports-users and Mailman-users lists, as I'm not sure where the answer to the problem is more likely to come from) I upgraded a server the other day to Mac OS 10.7, and due to a new version of Macports required an uninstall/reinstall of Mailman. As seems to be the usual case, the new Mailman/Fetchmail install needs some tweaks to get it working right - the Dreaded Group Mismatch Error in Mailman, SSL required but configured --without-ssl in Fetchmail, etc... I've fought my way through all of those, but... Currently it's telling me that the location of the MDA, which in the previous Fetchmailrc file was /opt/local/libexec/mailman/mail/mailman and worked fine before the upgrade, is a directory which doesn't exist. And that's true, it doesn't. So, the question is, where did it move to? Where *should* Fetchmail be told that the Mailman MDA is? Thanks for relieving my frustration. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Webmin missing in action?
Hi folks, I just upgraded to Lion and the most recent MacPorts from a 10.6.8/Macports 1.9.x install. Most everything went smoothly (I tested a couple times on a backup to be sure). I didn't find a current Webmin port in the repository, though it was there last time I did a major install (6/10), and my existing Webmin install is still functioning from its home at /opt/local/webmin-1.510 Any info on why it went away from the repository or if it's coming back? I'm probably due for an upgrade on it... Thanks. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Webmin missing in action?
On 10/9/11 9:05 PM, Jeremy Lavergne wrote: Can you do a `port provides /opt/local/webmin-1.510`? This will let us know the port that was used, and then we can look up the history of what happened to it. All I'm getting with that is /opt/local/webmin-1.510 is a directory My guess is it was never in MacPorts, and it was actually manually installed by following any number of tutorials out there which recommend the location you've indicated. probably the case... I went looking for the only non-Macports tutorial I remember using and it's no longer online. I'll just assume I did a manual install and work from there. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Lion/MacPorts2.x migration: Fetchmail looking for Kerberos
Hi folks, I'm doing a test migration of a server from SnowLeopard/MacPorts 1.9.x to Lion/MacPorts2.x. Most of it appears to be going fairly smoothly (though uninstalling/reinstalling all the ports is a bit tedious), but i've run into a problem installing Fetchmail. It's looking for Kerberos V... apparently found in /usr, but then gives the error Kerberos 5 DES libraries not found in the log, and quits. Any suggestions? Thanks! ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
no system signature error?
Hi folks, I'm seeing this in my error log: no system signature for unsigned /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app no system signature for unsigned /opt/local/bin/perl5.12 no system signature for unsigned /opt/local/libexec/mailman/cgi-bin/create.cgi no system signature for unsigned /opt/local/sbin/named (and various others) The last just started showing up today after I updated BIND from 9.8.0-P2 to 9.8.0-P4 (as well as updating a handful of others) I'm running OS 10.6.8. Any idea what these are about? Everything *appears* to be working OK Thanks. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: no system signature error?
On Fri, Jul 8, 2011 at 2:55 PM, Bradley Giesbrecht pixi...@macports.orgwrote: On Jul 8, 2011, at 12:46 PM, Bill Christensen wrote: Hi folks, I'm seeing this in my error log: What error log? Apache2 no system signature for unsigned /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app no system signature for unsigned /opt/local/bin/perl5.12 no system signature for unsigned /opt/local/libexec/mailman/cgi-bin/create.cgi no system signature for unsigned /opt/local/sbin/named Are these complete log lines? No, they're more along the lines of Jul 8 14:00:00 103 /usr/libexec/taskgated[5775]: no system signature for unsigned /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app[7919] Any idea what these are about? Everything *appears* to be working OK http://superuser.com/questions/100156/taskgated-erorrs-in-syslog-for-macports-installed-software which refers to http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/taskgated.8.html So does this mean that there should be an entry in /etc/authorization for Python, named, perl5.12, etc? Or is this an ain't broke, don't fix it kind of warning? Regards, Bradley Giesbrecht (pixilla) ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: port upgrade outdated woes continued ... now help2man wont upgrade
On Sat, Nov 20, 2010 at 2:02 AM, Andrea D'Amore and.dam...@macports.orgwrote: On Sat, Nov 20, 2010 at 5:09 AM, Gregory Dodwell gregree...@gmail.com wrote: port contents p5-locale-gettext Port p5-locale-gettext contains: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/Locale/gettext.pm /opt/local/bin/perl 'foreach $prefix (@INC) {print $prefix\n;}' /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level That looks fine. Just to reproduce the bug can you run: port clean --all help2man port selfupdate port -d configure help2man and paste the part after --- Configuring help2man line? I'm looking for solutions for the same problem, and it appears that this is as far as this thread went. Maybe you continued off list... Here's what I get: --- Configuring help2man DEBUG: Using compiler 'Mac OS X gcc 4.2' DEBUG: configure phase started at Tue Mar 1 12:23:53 CST 2011 DEBUG: Executing org.macports.configure (help2man) DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' PERL='/opt/local/bin/perl' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2' DEBUG: Assembled command: 'cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.4 ./configure --prefix=/opt/local --enable-nls' checking for perl... /opt/local/bin/perl checking for module Locale::gettext... no checking for msgfmt... /opt/local/bin/msgfmt checking for gcc... /usr/bin/gcc-4.2 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.2 accepts -g... yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed checking for library containing dlsym... none required checking for library containing bindtextdomain... -lintl configure: error: perl module Locale::gettext required shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.4 ./configure --prefix=/opt/local --enable-nls returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) DEBUG: Backtrace: configure failure: shell command failed (see log for details) while executing $procedure $targetname Warning: the following items did not execute (for help2man): org.macports.configure Log for help2man is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/main.log Error: Status 1 encountered during processing. Considering the error: perl module Locale::gettext required, is this essentially fallout of the perl5 discussion currently going on? Thanks for any insights. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
adding SQLite
Hi folks, I need to add SQLite to my MacPorts-built MAMP install... Do I just do port install php5 +sqlite or would it be port install php5-sqlite ? Do I need to install sqlite separately first? Thanks. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Mailman/Postfix and the dreaded group mismatch
Tried that restarted postfix. No change. On Fri, Oct 8, 2010 at 3:32 AM, Rainer Müller rai...@macports.org wrote: On 2010-10-07 20:08 , Bill Christensen wrote: Or do any of you know what to change on the Postfix end in order to tweak the mail server to run the script as group '_mailman'? I don't run my own mailman on Mac OS X, but didn't you configure your master.cf to make postfix pass mails to mailman at all? That would also be the location to configure the user and group. From the default Mac OS X postfix, /etc/postfix/master.cf: mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} I guess you want user=_mailman:_mailman here. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Mailman/Postfix and the dreaded group mismatch
Hi folks, I'm putting some of the final touches on my most recent server and have run into the dreaded Mailman group mismatch problem. Before getting into that though, I'm curioius as to why MacPorts spreads the pieces of Mailman around to at least three different locations - /opt/local/var, /opt/local/share, and /opt/local/libexec - rather than in one convenient location as the 'normal' mailman installs do? I can't see a whole lot of advantage to doing that besides confusing those of us who are transitioning from a non-MacPorts install. Down to the problem. We're running the latest OS 10.6 (client). I'm using Fetchmail (MacPorts install) to retrieve the mail from the 3rd party server and deliver it to Mailman, and then sending out via the existing Postfix server. The error I'm seeing when running Fetchmail is: fetchmail: IMAP A0008 OK Success fetchmail: IMAP A0009 FETCH 2 BODY.PEEK[TEXT] Group mismatch error. Mailman expected the mail wrapper script to be executed as group _mailman, but the system's mail server executed the mail script as group staff. Try tweaking the mail server to run the script as group _mailman, or re-run configure, providing the command line option `--with-mail-gid=staff'. fetchmail: IMAP * 2 FETCH (BODY[TEXT] {25} (25 body octets) * and though it appears that fetchmail is logging in correctly and seeing the mail there, it's not downloading to Mailman because of the mismatch. I went into the Mailman portfile and added --with-mail-gid=staff to the configure, port uninstalled and reinstalled. I'm still getting the same error. Do I need to do something else to 'clean' the install of the old settings? Or do any of you know what to change on the Postfix end in order to tweak the mail server to run the script as group '_mailman'? Thanks in advance. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: use port to install WordPress, then use WP's updater?
At 5:19 PM -0700 10/2/10, Michael Brian Bentley wrote: Hi! The current MacPorts install for WordPress is for v2.8.4. v3 of WordPress was made available in mid-June, and currently they're at 3.0.1. I am wondering: Can I use the MacPorts install for WordPress v2.8.4, and then use their automatic updater to bring the installation up to the current revision? -Mike WordPress is so simple to install I'm surprised there's even a port for it. If you haven't installed yet, just use the WP installer - it literally takes about 5 minutes. Just set up your db, enter your db login details into the config file, and go to the url for the site. Upgrades are pretty simple too in most cases. Make a backup of both the files and the database (there's a plugin which automates getting a sql dump) then download the 3.0.1 files and replace the existing ones (except the config file and the wp-content folder, both of which contain specifics of your site). Log in to the admin and it should update the database. If for some reason anything breaks, restore the original files and database... The only reason you're likely to have any problem updating is if one of the plugins or the theme you're using isn't up to date. You should definitely update. A number of security fixes have been put in place since 2.8.4. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
BIND 9.7 (and Webmin)
HI folks, I was recently asked by my credit card processor to update BIND to 9.6.1 or later. The BIND I was using was the one that comes with 10.6.4 - 9.6.0, I think. So of course being a fan of MacPorts I installed the latest, 9.7.1. I removed the startup item for the previous version. But I seem to be missing something critical in the setup as port 53 isn't open any more and it's not responding to queries. I see named running, and when I restart BIND the pid changes so I think I'm good there. I've checked the settings against the old ones and against another live server with the apple-installed BIND, and I've got some parts working (I can view/add/delete zones) but as is often the case with MacPorts-installations various bits and pieces aren't in mirrored locations within /opt/local/. I'm using Webmin, and a few things eluded me in the config - full path to whois, ndc, rndc, rndc.conf, dnssec.keygen, and dnssec-signzone. And if there's any other thing which may be causing the problem that comes to mind, I'd like to hear it. Thanks. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: BIND 9.7 (and Webmin)
Excellent. Did the trick. plus I learned a new MacPorts trick: contents. Thanks! At 8:04 AM -0700 9/18/10, Bradley Giesbrecht wrote: On Sep 18, 2010, at 2:18 AM, Bill Christensen wrote: HI folks, I was recently asked by my credit card processor to update BIND to 9.6.1 or later. The BIND I was using was the one that comes with 10.6.4 - 9.6.0, I think. So of course being a fan of MacPorts I installed the latest, 9.7.1. I removed the startup item for the previous version. But I seem to be missing something critical in the setup as port 53 isn't open any more and it's not responding to queries. I see named running, and when I restart BIND the pid changes so I think I'm good there. I've checked the settings against the old ones and against another live server with the apple-installed BIND, and I've got some parts working (I can view/add/delete zones) but as is often the case with MacPorts-installations various bits and pieces aren't in mirrored locations within /opt/local/. I'm using Webmin, and a few things eluded me in the config - full path to whois, ndc, rndc, rndc.conf, dnssec.keygen, and dnssec-signzone. And if there's any other thing which may be causing the problem that comes to mind, I'd like to hear it. $ which whois $ which ndc $ which rndc $ port contents bind9 // Brad -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: ?php is OK, but ? is not
Thanks guys, that was it. At 11:52 PM -0500 7/11/10, Ryan Schmidt wrote: On Jul 11, 2010, at 23:48, Daniel Terreros wrote: On Sun, Jul 11, 2010 at 9:46 PM, Bill Christensen wrote: Starting a php section with ?php is OK, but ? apparently is not. Do you have short tags enabled? Right, that feature is called short open tags. It's a setting in the php.ini. The new default php.ini files that come with the latest php5 are probably more restrictive than the ones that came with earlier PHPs. You may need to update your code, or change some settings back (though be aware of any security implications of doing so). -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
?php is OK, but ? is not
I'm still working on my migration, and I've discovered a little snafu: Starting a php section with ?php is OK, but ? apparently is not. Perhaps I missed something? Either a rule that says you now always have to use ?php, or some setting somewhere? It seems there might be a couple other things that aren't being handled exactly the same either as some sites are not coming up right, I just haven't figured out what they are yet. It's possible that those are an artifact of the data migration. I'm running the latest Apache2 and PHP5 on 10.6.4. I'm migrating from an earlier Apache2/PHP5 on 10.5.8 (PPC). -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Need clarification on install procedure
At 8:44 AM -0500 7/1/10, Ryan Schmidt wrote: On Jun 30, 2010, at 13:15, Bill Christensen wrote: At 2:29 AM -0500 6/30/10, Ryan Schmidt wrote: So you edited the php5 Portfile to change the configure.args, I guess? What kinds of changes did you need to make? Yep. The original config had --without mysql for instance, and I added pear supprt as well. You don't need to edit the port to get MySQL support; instead, you use the php5-mysql port. Right. At least, not today. Last time I did it, that's what was needed afaik. Same for PEAR support: instead, you use the php5 port's +pear variant. Ok. BTW, PEAR was because of a portion of a site built by someone else years ago... essentially a legacy site now. I'm hoping to migrate everything off the server that one is on in the near future, and thia hosting client, while historically an excellent revenue source, is currently having to belt-tighten enough due to the economic downturn that I can't realistically ask them to pay to completely re-do their site to today's standards. Even though they really need to. If there's anything else you need in PHP, let me know if you can't find the corresponding variants or ports. Thanks. I think I found all I need for now, especially with the PEAR addition. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Need clarification on install procedure
At 6:30 AM -0500 6/29/10, Ryan Schmidt wrote: On Jun 29, 2010, at 02:10, Bill Christensen wrote: The other day I attempted to clone a working MAMP server from a G4 PPC to an Intel machine and discovered that I basically need to reinstall everything from scratch to get the intel versions. Yes, I've now read the page on migrating. Yes, cloning a MacPorts installation from one machine to another is not advisable unless both machines are running the same version of Mac OS X and have the same processor architecture. I'll probably just do a fresh install of 10.6.4. You are welcome to do so but if your only goal is to remove the MacPorts installation cloned from the other machine, you can just remove the directories you copied in order to clone it. Or you can follow the MacPorts uninstall instructions in the guide: http://guide.macports.org/chunked/installing.macports.uninstalling.html I've also scanned through the archives from the past year and it appears that the dbs are now installed separately from Apache. Not sure what you're referring to... The apache2 port has never been related to database ports like mysql5 and postgresql84; they have nothing to do with one another and have always been installed separately. Sorry, I was referring to the command install port php5 +apache2 +mysql5 Scott Haneda clarified to me earlier today that you can now do install port php5 install port php5-mysql install port php5-postgresql etc. (or maybe you always could, but I wasn't aware of it). So before I go and bang my head against this again, I figured I'd double check on the correct procedure. This time around I'll be installing: Apache2 MySQL5 PHP5 Postgresql84 We have some of this documented in the wiki: http://trac.macports.org/wiki/howto/MAMP I have not read this document recently so I don't know how up-to-date or accurate it is. If you find inaccuracies, please let us know or log in and fix it directly. Last time through (a bit over a year ago) I had to install Apache, then MySQL5 +server, then PHP5 +MySQL +Apache2, then tweak the php config file to include mysql, uninstall PHP, then reinstall PHP5 +MySQL +Apache2. Is that no longer the case? Does the install order matter? mysql5's +server variant is gone; you now use the separate mysql5-server port if you want to run a MySQL server. php5's +mysql5 variant is gone; you now use the separate php5-mysql port. (It has variants for selecting the method of interacting with the MySQL server but the default +mysqlnd should be fine.) I don't know what you had to change in the php config file to make MySQL work before. When installing php5-mysql today, you should receive a message advising you what you need to change in php.ini to make it work. The changes to php config were to get the correct settings for my needs - some of which weren't there by default. Install, go to the portfile, change the config settings as needed, uninstall, then reinstall. I can't imagine a reason why you would have had to uninstall php5 then reinstall it. If you believe you are in need of that again, please let us know what you're experiencing so we can know what's wrong. Is there anything I need to look out for with PostgreSQL? I do not know; I have never used it. I know that it too has separate ports: postgresql84 if you want the client libraries, postgresql84-server if you also want to run a PostgreSQL server. And if you want PHP to be able to talk to PostgreSQL databases, then you want the php5-postgresql port. (It has variants for selecting the PostgreSQL version but the default +postgresql84 should be fine for you.) I'll also be installing the following: GD2 Imagemagick Postfix AWStats Mailman Webmin phpMyAdmin phppgAdmin Any gotchas I need to watch out for? Various php5 features are no longer installed by default, and are instead in separate ports. PHP's gd support is for example now in the php5-gd port. PHP can use ImageMagick via the php5-imagick port. port echo name:php5- will show you the other ports that are available. Got it. Thanks for the clarification. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Need clarification on install procedure
At 2:29 AM -0500 6/30/10, Ryan Schmidt wrote: There used to be variants of the php5 port for a lot of optional PHP features (like MySQL 5 support via the +mysql5 variant). php5 also used to have a lot of other optional features always enabled (e.g. GD2 support). Between July and October 2009 I moved most of these features out of the php5 port itself and into separate ports (e.g. php5-mysql and php5-gd). For a more complete list of changes you can read the ticket: http://trac.macports.org/ticket/19091 ok, that explains why I wasn't aware of it. The last install I did was in the spring of 09. So you edited the php5 Portfile to change the configure.args, I guess? What kinds of changes did you need to make? Yep. The original config had --without mysql for instance, and I added pear supprt as well. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Trouble with Apache2 install
Hi, Apache2 install on a clean install of 10.6.4... I'm on a temporary IP address, as this setup will be taking over for a server already in production. http://127.0.0.1 and http://localhost return can't establish connection. On attempting ./apachectl -k restart i'm getting: httpd: apr_sockaddr_info_get() failed for 103.greenbuilder.com httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName httpd not running, trying to start And still can't establish connection. Thanks... ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Need clarification on install procedure
Hi folks, The other day I attempted to clone a working MAMP server from a G4 PPC to an Intel machine and discovered that I basically need to reinstall everything from scratch to get the intel versions. Yes, I've now read the page on migrating. I'll probably just do a fresh install of 10.6.4. I've also scanned through the archives from the past year and it appears that the dbs are now installed separately from Apache. So before I go and bang my head against this again, I figured I'd double check on the correct procedure. This time around I'll be installing: Apache2 MySQL5 PHP5 Postgresql84 Last time through (a bit over a year ago) I had to install Apache, then MySQL5 +server, then PHP5 +MySQL +Apache2, then tweak the php config file to include mysql, uninstall PHP, then reinstall PHP5 +MySQL +Apache2. Is that no longer the case? Does the install order matter? Is there anything I need to look out for with PostgreSQL? I'll also be installing the following: GD2 Imagemagick Postfix AWStats Mailman Webmin phpMyAdmin phppgAdmin Any gotchas I need to watch out for? Thanks in advance. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://Calendar.SustainableSources.com Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users