ricfranz Darth Wader
Registrato: 05/01/07 14:15 Messaggi: 1332 Residenza: Savona-Italy
|
Inviato: Mar Ott 21, 2014 12:32 pm Oggetto: Aggiiornamento XAMPP per OS 10.10 Yosemite |
|
|
Con l'aggiornamento ad OS 10.10 è possibile che MySQL non si attivi.
Occorre aggiornare le librerie di XAMPP
Il link per l'aggiornamento da fare con Terminale: http://www.ordinarycoder.com/xaamp-yosemite-preview-5-mysql-fix/
Riporto comunque il testo:
Codice: | Update 2014-10-19: This is works for the official release of Yosemite
Seams there is a problem with XAMPP and Yosemite and that MySQL won’t start up due to some library is missing.
Hear is the guide that will make it work again.
STEP 1
. Download Homebrew. Open your terminal and then type:
. . . ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
UPDATE 2014-10-19: Source for homebrew https://raw.githubusercontent.com/Homebrew/install/master/install
STEP 2
Allow homebrew to install duplicates of system software:
…brew tap homebrew/dupes
STEP 3: . Download LIBICONV, you have to type the following lines at terminal:
. . . brew install libiconv
. . . brew link libiconv –force
IMPORTANT: It’s a double dash in front of the “force” command, due to HTML formatting you can’t see it, so type the command manually.
STEP 4
. Download SQLITE3, you have to type the following lines at terminal:
. . . brew install sqlite3
. . . brew link sqlite3 –force
IMPORTANT: It’s a double dash in front of the “force” command, due to HTML formatting you can’t see it, so type the command manually.
STEP 5
. Go to Applications/XAMPP/xamppfiles/lib and then delete the following files (remember to empty your trash).
. . . libsqlite3.dylib (it is an ALIAS)
. . . libsqlite3.0.8.6.dylib
. . . libiconv.2.dylib
. . . libiconv (it is an ALIAS).
STEP 6
.Restart you “manager-osx.app” then try to turn on your mysql database.
| [/quote]
Questo è il lavoro fatto con il Terminale:
Codice: | Last login: Tue Oct 21 11:33:23 on console
RICFRANZ-2:~ RICFRANZ$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Installing the Command Line Tools (expect a GUI popup):
==> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: note: install requested for command line developer tools
Press any key when the installation has completed.
==> Downloading and installing Homebrew...
remote: Counting objects: 205879, done.
remote: Compressing objects: 100% (55465/55465), done.
remote: Total 205879 (delta 149334), reused 205731 (delta 149228)
Receiving objects: 100% (205879/205879), 43.37 MiB | 2.95 MiB/s, done.
Resolving deltas: 100% (149334/149334), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at c0d97e7 tutum: add 0.9.1.4 bottle.
==> Installation successful!
==> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started
RICFRANZ-2:~ RICFRANZ$ brew tap homebrew/dupes
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-dupes'...
remote: Counting objects: 1374, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1374 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1374/1374), 275.29 KiB | 391.00 KiB/s, done.
Resolving deltas: 100% (744/744), done.
Checking connectivity... done.
Tapped 36 formulae
RICFRANZ-2:~ RICFRANZ$ brew install libiconv
==> Downloading http://ftpmirror.gnu.org/libiconv/libiconv-1.14.tar.gz
######################################################################## 100,0%
==> Downloading https://trac.macports.org/export/89276/trunk/dports/textproc/lib
######################################################################## 100,0%
==> Downloading https://trac.macports.org/export/89276/trunk/dports/textproc/lib
######################################################################## 100,0%
==> Patching
patching file Makefile.devel
Hunk #1 succeeded at 106 (offset 1 line).
patching file lib/converters.h
patching file lib/encodings.def
patching file lib/utf8mac.h
patching file lib/flags.h
==> ./configure --prefix=/usr/local/Cellar/libiconv/1.14 --enable-extra-encoding
==> make -f Makefile.devel CFLAGS= CC=clang
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/libiconv/lib
CPPFLAGS: -I/usr/local/opt/libiconv/include
==> Summary
🍺 /usr/local/Cellar/libiconv/1.14: 26 files, 1,4M, built in 66 seconds
RICFRANZ-2:~ RICFRANZ$ brew link libiconv --force
Linking /usr/local/Cellar/libiconv/1.14... 16 symlinks created
RICFRANZ-2:~ RICFRANZ$ brew install sqlite3
==> Installing sqlite dependency: readline
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/readline-6.
######################################################################## 100,0%
==> Pouring readline-6.3.8.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.
OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary
🍺 /usr/local/Cellar/readline/6.3.8: 40 files, 2,1M
==> Installing sqlite
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/sqlite-3.8.
######################################################################## 100,0%
==> Pouring sqlite-3.8.7.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
OS X provides an older sqlite3.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/sqlite/lib
CPPFLAGS: -I/usr/local/opt/sqlite/include
==> Summary
🍺 /usr/local/Cellar/sqlite/3.8.7: 9 files, 2,1M
RICFRANZ-2:~ RICFRANZ$ brew link sqlite3 --force
Linking /usr/local/Cellar/sqlite/3.8.7... 8 symlinks created
RICFRANZ-2:~ RICFRANZ$
|
Grazie al supporto IANSEO.
Buon lavoro
P.S. : E' anche possibile aggiornare XAMPP alla versione 1.8.3-5 oppure 1.8.3-6 _________________ Collabora a WikiArco!
|
|