streamripper fails to build

Giuseppe Di Matteo pinodm at euphonynet.be
Fri May 9 01:30:32 PDT 2008


Le 08-mai-08 à 23:18, Ryan Schmidt a écrit :

> On May 8, 2008, at 12:13, Giuseppe Di Matteo wrote:
>
>> Le 08-mai-08 à 05:23, Ryan Schmidt a écrit :
>>
>>> I don't get this error on 10.4.11 on Intel; it builds fine for me.
>>>
>>> But I filed a ticket for updating the port:
>>>
>>> http://trac.macports.org/ticket/15224
>>
>> After having updated it installed correctly even if the first time  
>> it stopped because  glib2 wasn't installed (strange since it isn't  
>> listed as a dependency of streamripper).
>
> I don't see anything in streamripper that depends on glib2. Can you  
> show me the exact error message you got?
>
Here is :
checking for GLIB - version >= 2.8.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file  
config.log for the
*** exact error that occured. This usually means GLIB is incorrectly  
installed.
configure: error: glib 2.8 or newer is required
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_s 
treamripper/work/streamripper-1.63.1" && ./configure --prefix=/opt/ 
local --with-ogg=/opt/local --with-vorbis=/opt/local --with-libiconv- 
prefix=/opt/local --with-included-argv --with-included-libmad --with- 
included-tre --mandir=/opt/local/share/man " returned error 1
Command output: checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.0... gcc3
checking for a BSD-compatible install... /usr/bin/install
checking for ranlib... ranlib
checking for inline... inline
checking for main in -lm... yes
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.8.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file  
config.log for the
*** exact error that occured. This usually means GLIB is incorrectly  
installed.
configure: error: glib 2.8 or newer is required

Warning: the following items did not execute (for streamripper):  
org.macports.activate org.macports.configure org.macports.build  
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

However I should have been more precise: I've upgraded the port  
manually according to the ticket: http://trac.macports.org/attachment/ 
ticket/15224/streamripper-1.63.1.diff
As i said in my previous post installing glib2 solved the problem.

Now I've tried: 'uninstall glib2'
			   'uninstall streamripper'
			   'selfupdate'
			   'clean streamripper'
			   'install streamripper'
and streamripper (1.62.3) installed correctly.


Giuseppe Di Matteo
pinodm at euphonynet.be



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080509/8d07e8ac/attachment-0001.html


More information about the macports-users mailing list