18 Sep
matte

matte il 18 September 2008 parla di Configurazioni

serf 0.2.0 fails to build on port

Se sul vostro mac utilizzate port e avete intenzione di aggiornare subversion all’ultima versione potreste ottenere il seguente errore nella compilazione di serf (necessario per l’upgrade di subversion):

$ sudo port install serf
--->  Fetching serf
--->  Verifying checksum(s) for serf
--->  Extracting serf
--->  Configuring serf
--->  Building serf with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_serf/work/serf-0.2.0" && make all " returned error 2
Command output: /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I. -I/opt/local/include/apr-1 -I/opt/local/include/apr-1  -c -o buckets/aggregate_buckets.lo buckets/aggregate_buckets.c && touch buckets/aggregate_buckets.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [buckets/aggregate_buckets.lo] Error 1

Error: Status 1 encountered during processing.

Per installare serf correttamente dovete configurare il pacchetto da soli con le seguenti impostazioni:

$ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_serf/work/serf-0.2.0 
$ sudo ./configure --prefix=/opt/local --with-apr=/opt/local --with-apr-util=/opt/local 
$ sudo make all 
$ sudo port install serf

Poi potete procedere con il comando:

$ sudo port install subversion

e tutto dovrebbe andare liscio senza problemi.

2 Commenti a “serf 0.2.0 fails to build on port”

  1. Dan Mayer il 31 October 2008 alle 04:09 dice:

    Awesome I don’t even know your language, but all I needed was to look at the cmds

    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_serf/work/serf-0.2.0
    $ sudo ./configure –prefix=/opt/local –with-apr=/opt/local –with-apr-util=/opt/local
    $ sudo make all
    $ sudo port install serf

    That fixed it for me… Thanks!

  2. Installing and running git-svn on Mac OSX 10.4 Tiger - The Devver Blog il 9 December 2008 alle 19:13 dice:

    [...] read the blog because it wasn’t in English, but I could read enough to solve my MacPorts serf install problem. I followed these few lines from the [...]

Scrivi un commento