Showing posts with label MacPorts. Show all posts
Showing posts with label MacPorts. Show all posts

Saturday, September 14, 2013

More MacPorts v8 problems


$ sudo port upgrade outdated
Password:
--->  Building v8
Error: org.macports.build for port v8 returned: command execution failed
Please see the log file for port v8 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_v8/v8/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

The solution was to run the following two commands and try again:

$ sudo port clean --all installed
$ sudo port -f uninstall inactive
--->  Uninstalling file @5.14_1
--->  Cleaning file
--->  Uninstalling ImageMagick @6.8.6-6_0+x11
--->  Cleaning ImageMagick
--->  Uninstalling groff @1.22.2_0
--->  Cleaning groff
--->  Uninstalling ghostscript @9.06_3
--->  Cleaning ghostscript
--->  Uninstalling libmagic @5.14_1
--->  Cleaning libmagic
--->  Uninstalling nettle @2.6_0
--->  Cleaning nettle
--->  Uninstalling py27-setuptools @1.1.4_0
--->  Cleaning py27-setuptools
--->  Uninstalling unison @2.40.102_0
--->  Cleaning unison

And it worked!

$ sudo port upgrade outdated
--->  Fetching archive for v8
--->  Attempting to fetch v8-3.21.15_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/v8
--->  Attempting to fetch v8-3.21.15_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/v8
--->  Attempting to fetch v8-3.21.15_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/v8
--->  Attempting to fetch v8-3.21.15_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/v8
--->  Installing v8 @3.21.15_0
--->  Cleaning v8
--->  Deactivating v8 @3.21.7_0
--->  Cleaning v8
--->  Activating v8 @3.21.15_0
--->  Cleaning v8
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.


Friday, August 30, 2013

MongoDB and MacPorts (and v8)

In order to upgrade MongoDB to the latest version (using MacPorts), I had to deactivate v8, upgrade MongoDB and activate v8 again:


--->  Configuring mongodb
Error: mongodb cannot be built while v8 is active.
Error: Please deactivate v8 and try again.
Error: You can reactivate v8 again later.
Error: org.macports.configure for port mongodb returned: v8 is active
Please see the log file for port mongodb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
mtsouk$ sudo port -f deactivate v8
Password:
--->  Deactivating v8 @3.17.15_0
--->  Unable to deactivate v8 @3.17.15_0, the following ports depend on it:
--->   mongodb @2.4.6_0
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning v8
mtsouk$ sudo port upgrade outdated
--->  Computing dependencies for mongodb
--->  Configuring mongodb
--->  Building mongodb
...
mtsouk@ sudo port activate v8

Friday, August 23, 2013

Starting MySQL on Mac OS X 10.8.4

I used to start MySQL 5.5 (MacPorts) on my Mac using the following command:
$ sudo /opt/local/share/mysql55/support-files/mysql.server start

Yesterday, I found out that this was not working anymore. The error message I was getting was the following:

$ /opt/local/share/mysql55/support-files/mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/opt/local/var/db/mysql55/monastery.local.pid).

It turns out that the new way of starting MySQL is the following:
$ sudo port load mysql56-server

PS. During the process, I have also updated MySQL to version 5.6.

Friday, June 7, 2013

The R project

My preferred way to install R is using the package from here.
The MacPorts version has some problems with Tcl/Tk and some R packages cannot be installed properly.

Friday, July 27, 2012

Installing (MacPorts) MySQL on Mountain Lion

$ sudo port install mysql55 mysql55-server

The following command makes MySQL use a "normal" MySQL configuration file because the default is not good at all:


$ sudo cp -av /opt/local/share/mysql55/support-files/my-small.cnf /opt/local/etc/mysql55/my.cnf


$ sudo /opt/local/share/mysql55/support-files/mysql.server start
$ sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db
$ sudo /opt/local/lib/mysql55/bin/mysql_secure_installation


And you are done!

Thursday, November 10, 2011

MacPorts Python 2.7


--->  Activating python27 @2.7.2_2


To make python 2.7 the default 
(i.e. the version you get when you run 'python'), please run:
    sudo port select --set python python27


--->  Cleaning python27

Friday, September 2, 2011

Running Lion

Earlier today, my iMac started running Lion.
It was pretty tricky to do the clean install I wanted. I had to install Snow Leopard without any apps, update to Mac OS X 10.6.8 and then upgrade to Lion.


Everything looks fine until now. I am now installing MacPorts software. The two things left are SuperDuper! and LaTeX. I also have to find which version of MySQL I will install as Lion does not come with MySQL.

Monday, August 29, 2011

MacPorts clean up

The following command erases all the temporary files that are generated during the build of an application: 
sudo port clean --all installed


The following command cleans up (removes) the old and unused versions:
sudo port -f uninstall inactive

Saturday, October 9, 2010

LaTeX update

Latest news:

  • Deleted the Macports LaTeX installation
  • Downloading this LaTeX Distribution

More tk :)

My LaTeX installation is not working!



I am using LaTeX (with TextMate) both for writing Mathematical equations and typesetting books.
I am using the Macports version of LaTeX but (I think) after updating to Snow Leopard my LaTeX stopped working!
Now is the time to fix it.

I will keep you informed.

Wednesday, November 26, 2008

MacPorts LaTeX and the marvosym package

After installing the MacPorts version of LaTeX, I have a problem with it: the marvosym LaTeX package does not work as expected.

Today, that I have a little free time, I will search the problem a little bit more in order to find a solution.

Do you have a solution?

Monday, September 22, 2008

MacPorts and LaTeX

A side effect of using MacPorts (see this post for more information) is that I recalled that I was also using a PowerPC version of LaTeX.

Using the information found here, after deleting my current LaTeX installation, I managed to install the MacPorts Universal Binary (UB) version of LaTeX. Everything is working just fine, including Greek typetting!

I like LaTeX so much that I typeset my "Programming Dashboard WidgetseBook using it.

Fink and MacPorts

When I was first start using Macs, I wanted the GNU command line tools. I first started using Fink and I was very happy with it.

Lately, after getting my Intel MacBook Pro, I decided to update Fink in order to have the Intel binaries. Unfortunately, after trying a little bit, I could not update or re-install Fink to get Intel binaries.
It was then that I thought that I should try MacPorts. I am now happily using MacPorts and I should say that I am totally satisfied.