subversion install error (file already exists)

Elias Pipping pipping at macports.org
Mon May 14 23:37:08 PDT 2007


On May 15, 2007, at 5:41 AM, mark brethen wrote:

> On May 14, 2007, at 11:16 PM, Ryan Schmidt wrote:
>
>>
>> On May 14, 2007, at 21:52, mark brethen wrote:
>>
>>> I get this error when trying to install subversion.
>>>
>>> The following ports are currently installed:
>>>   apr @1.2.8_0 (active)
>>>   frotz @2.43_0 (active)
>>>   lesstif @0.93.94_0 (active)
>>>   libid3tag @0.15.1b_0 (active)
>>>   libmad @0.15.1b_0 (active)
>>>   libogg @1.1.2_0
>>>   libogg @1.1.3_0 (active)
>>>   libvorbis @1.1.0_0
>>>   libvorbis @1.1.2_0 (active)
>>>   mp3splt @2.1_0
>>>   mutella @0.4.3_0
>>>   mutella @0.4.5_0 (active)
>>>   readline @5.0.005_0
>>>   readline @5.1.004_0 (active)
>>>   xephem @3.5.2_0 (active)
>>> brethen-familys-Computer:~ marbre$ sudo port install subversion
>>> --->  Staging db44 into destroot
>>> Error: Target com.apple.destroot returned: error deleting "/opt/ 
>>> local/var/db/dports/build/ 
>>> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdat 
>>> e_dports_databases_db44/work/destroot/opt/local/share/db44-4.4.20/ 
>>> api_c": file already exists
>>> Error: The following dependencies failed to build: apr-util db44  
>>> expat libiconv neon gettext openssl zlib
>>
>> I don't know why that's happening, but do you really need Berkeley  
>> DB? It's generally not required for Subversion. To build without BDB:
>>
>> $ sudo port install apr-util +no_bdb
>> $ sudo port install subversion +no_bdb
>>
>>
>>
>
> A selfupdate solved that problem, but now I get this:
>
> --->  Building libiconv with target all
> Error: Target com.apple.build returned: shell command "cd /opt/ 
> local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_textproc_libiconv/work/libiconv-1.11 && make -f  
> Makefile.devel" returned error 2
> Command output: gcc -O lib/genaliases.c -o genaliases
> ./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh
> rm -f genaliases
> gperf -m 10 lib/aliases.gperf > tmp.h
> gperf: invalid option -- m
> Usage: gperf [-cCdDef[num] 
> F<initializers>GhH<hashname>i<init>Ijk<keys>K<keyname>lL<language>nN<f 
> unction name>ors<size>S<switches>tTvW<wordlistname>Z<class name>7]  
> [input-file]
> Try `gperf --help' for more information.
> make: *** [lib/aliases.h] Error 1
>
> Any ideas?

You're on panther, your gperf is outdated, installing gperf via  
macports should solve the issue.

Regards,

Elias Pipping



More information about the macports-users mailing list