Opened 14 years ago

Closed 13 years ago

#25577 closed defect (fixed)

Cannot install daapd

Reported by: stefan_pachner@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: daapd

Description (last modified by mf2k (Frank Schima))

MiniTim:~ admin$ sudo port install daapd
--->  Computing dependencies for daapd
--->  Building daapd
Error: Target org.macports.build returned: shell command failed
Log for daapd is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_daapd/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (6)

comment:1 in reply to:  description Changed 14 years ago by stefan_pachner@…

(duplicate comment deleted by admin)

comment:2 Changed 14 years ago by stefan_pachner@…

The log file says:

MiniTim:~ admin$ sudo port install daapd
Password:
--->  Computing dependencies for daapd
--->  Building daapd
Error: Target org.macports.build returned: shell command failed
Log for daapd is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_daapd/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
MiniTim:~ admin$ less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_daapd/main.log

:debug:build build phase started at Wed Jul  7 23:16:13 CEST 2010
:debug:build Executing org.macports.build (daapd)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_daapd/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_daapd/work/daapd-0.2.4a" && /usr/bin/make -j2 all'
:info:build cd daaplib/src && /usr/bin/make
:info:build if test ! -e libhttpd/Site.mm; then cd libhttpd && ./configure; fi
:info:build cd libhttpd && /usr/bin/make
:info:build make[1]: `libdaaplib.a' is up to date.
:info:build g++ -Wall -Wno-multichar  -DHOWL_ENABLE -L. -L./daaplib/src -L./libhttpd/src  -L/opt/local/lib -o daapd daapd.o db.o dboutput.o songcache.o parsemp3.o util.o -ldaaplib -lhttpd-persistent -lid3tag -lz -lhowl -framework CoreFoundation -lpthread
:info:build 
:info:build --> [src] directory  
:info:build ld: library not found for -lhttpd-persistent
:info:build collect2: ld returned 1 exit status
:info:build make: *** [daapd] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build g++ -Wall -I../src -g -I../ -I/usr/local/include  -D_OS_UNIX -c ip_acl.c
:info:build ip_acl.c:48: error: 'u_int' has not been declared
:info:build ip_acl.c:49: error: 'u_int' has not been declared
:info:build ip_acl.c: In function 'int scanCidr(char*, int*, int*)':
:info:build ip_acl.c:51: error: 'u_int' was not declared in this scope
:info:build ip_acl.c:51: error: expected `;' before 'res'
:info:build ip_acl.c:55: error: 'res1' was not declared in this scope
...

comment:3 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: daapd removed

comment:4 Changed 14 years ago by mf2k (Frank Schima)

What version of Mac OS X are you running? What version of Xcode?

I get a different build error on my system. Mac OS X 10.6.4. Xcode 3.2.2. Here's the beginning of the long list of errors:

:info:build checking for unistd.h... yes
:info:build checking for -lsocket... no
:info:build checking for -lnsl... no
:info:build songcache.cc: In function 'TagInput& SongCache::<unnamed>::operator>>(TagInput&, SongCache::<unnamed>::Data)':
:info:build songcache.cc:46: error: no match for 'operator>>' in '((TagInput*)((TagInput*)in)->TagInput::operator>>(((Tag&)(& tag))))->TagInput::operator>>(((std::string&)((std::string*)data.SongCache::<unnamed>::Data::str))) >> end'
:info:build ./daaplib/include/daap/taginput.h:56: note: candidates are: TagInput& TagInput::operator>>(Tag&)
:info:build ./daaplib/include/daap/taginput.h:57: note:                 TagInput& TagInput::operator>>(Chunk&)
:info:build ./daaplib/include/daap/taginput.h:58: note:                 TagInput& TagInput::operator>>(std::string&)
:info:build ./daaplib/include/daap/taginput.h:59: note:                 TagInput& TagInput::operator>>(u8&)
:info:build ./daaplib/include/daap/taginput.h:60: note:                 TagInput& TagInput::operator>>(u16&)
:info:build ./daaplib/include/daap/taginput.h:61: note:                 TagInput& TagInput::operator>>(u32&)
:info:build ./daaplib/include/daap/taginput.h:62: note:                 TagInput& TagInput::operator>>(u64&)
:info:build ./daaplib/include/daap/taginput.h:64: note:                 TagInput& TagInput::operator>>(s8&)
:info:build ./daaplib/include/daap/taginput.h:65: note:                 TagInput& TagInput::operator>>(s16&)
:info:build ./daaplib/include/daap/taginput.h:66: note:                 TagInput& TagInput::operator>>(s32&)
:info:build ./daaplib/include/daap/taginput.h:67: note:                 TagInput& TagInput::operator>>(s64&)
:info:build ./daaplib/include/daap/taginput.h:68: note:                 TagInput& TagInput::operator>>(Version&)
:info:build ./daaplib/include/daap/taginput.h:70: note:                 TagInput& TagInput::operator>>(TagInput& (*)(TagInput&))
:info:build ./daaplib/include/daap/taginput.h:93: note:                 TagInput& TagInput::operator>>(const TagInput::Skip&)

comment:5 in reply to:  4 Changed 14 years ago by stefan_pachner@…

Replying to macsforever2000@…:

What version of Mac OS X are you running? What version of Xcode?

I have xcode 3.1.4, Mac OS X 10.5.8

regards

Stefan

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.