Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 11:54:45 -0400
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Michael Johnson <ahze@FreeBSD.org>
Cc:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/multimedia/mpeg4ip Makefile pkg-plist
Message-ID:  <4290AB45.7090306@FreeBSD.org>
In-Reply-To: <2E22B997-FECA-4DA5-8345-CC101CF4CEB1@FreeBSD.org>
References:  <200505200808.j4K88l9E016074@repoman.freebsd.org> <20050521234742.6079f270@it.buh.tecnik93.com> <428FB64C.8040706@FreeBSD.org> <20050522173518.1e9ccab7@it.buh.tecnik93.com> <41EA904D-2A4E-4D07-B0F9-63EDA27FE591@FreeBSD.org> <4290A3DC.4030606@FreeBSD.org> <2E22B997-FECA-4DA5-8345-CC101CF4CEB1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Johnson wrote:
> 
> On May 22, 2005, at 11:23 AM, Adam Weinberger wrote:
> 
>> Michael Johnson wrote:
>>
>>> On May 22, 2005, at 10:35 AM, Ion-Mihai Tetcu wrote:
>>>
>>>> On Sat, 21 May 2005 18:29:32 -0400
>>>> Adam Weinberger <adamw@FreeBSD.org> wrote:
>>>>
>>>>
>>>>
>>>>> Ion-Mihai Tetcu wrote:
>>>>>
>>>>>
>>>>>> On Fri, 20 May 2005 08:08:47 +0000 (UTC)
>>>>>> Michael Johnson <ahze@FreeBSD.org> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> ahze        2005-05-20 08:08:47 UTC
>>>>>>>
>>>>>>>  FreeBSD ports repository
>>>>>>>
>>>>>>>  Modified files:
>>>>>>>    multimedia/mpeg4ip   Makefile pkg-plist
>>>>>>>  Log:
>>>>>>>  - Fix build on some configurations of 5.x by using   
>>>>>>> USE_INC_LIBTOOL_VER
>>>>>>>    and ln -s ${LIBTOOL} ${WRKSRC}/libtool
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Was it supposed to resolve this ?
>>>>>>
>>>>>> test -z "/usr/local/lib/mp4player_plugin" || /usr/ports/  
>>>>>> multimedia/mpeg4ip/work/mpeg4ip-1.3/install-sh -d "/usr/local/ 
>>>>>> lib/ mp4player_plugin"
>>>>>>  /bin/sh ../../../../libtool --mode=install /usr/bin/install -c  - 
>>>>>> o root -g wheel  'celp_plugin.la' '/usr/local/lib/  
>>>>>> mp4player_plugin/celp_plugin.la'
>>>>>> libtool: install: warning: relinking `celp_plugin.la'
>>>>>> (cd /usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.3/player/ plugin/ 
>>>>>> audio/celp; /bin/sh ../../../../libtool  --mode=relink c ++ - 
>>>>>> D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wno-char- subscripts 
>>>>>> - Woverloaded-virtual -Wno-unknown-pragmas -Wno- deprecated - 
>>>>>> Wformat=2 -Wpointer-arith -Wsign-compare -O2 -pipe  -march=athlon- 
>>>>>> xp -O3 -ffast-math -fomit-frame-pointer - DUSE_MMX -DMPEG4IP -I/ 
>>>>>> usr/local/include/SDL11 -I/usr/local/ include -D_REENTRANT -L/usr/ 
>>>>>> local/lib -L/usr/X11R6/lib - pthread -o celp_plugin.la -rpath 
>>>>>> /usr/ local/lib/ mp4player_plugin -module celp.lo 
>>>>>> ../../../../player/lib/  mp4util/libmp4util.la 
>>>>>> ../../../../player/lib/audio/celp/BS/  libmpeg4ip_celpbs.la 
>>>>>> ../../../../player/lib/audio/celp/dec/  libmpeg4ip_celp.la -lmp4v2 
>>>>>> -lmp4av -lmpeg4ip_gnu )
>>>>>> c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/ crtbeginS.o  
>>>>>> .libs/ celp.o  -Wl,--rpath -Wl,/usr/local/lib -L/ usr/local/lib 
>>>>>> -L/usr/ X11R6/lib -pthread -lmp4util - lmpeg4ip_celpbs 
>>>>>> -lmpeg4ip_celp - lmp4v2 -lmp4av -lmpeg4ip_gnu - L/usr/lib -lstdc++ 
>>>>>> -lm -lgcc_pic / usr/lib/crtendS.o /usr/lib/ crtn.o  
>>>>>> -march=athlon-xp -Wl,-soname - Wl,celp_plugin.so.0 - o 
>>>>>> .libs/celp_plugin.so.0
>>>>>> /usr/bin/ld: cannot find -lmp4av
>>>>>> libtool: install: error: relink `celp_plugin.la' with the  above  
>>>>>> command before installing it
>>>>>>
>>>>>>
>>>>>
>>>>> Yes.
>>>>>
>>>>>
>>>>
>>>> It seems it doesn't :( on my
>>>> FreeBSD 5.4-STABLE #10: Wed May 18 04:50:54 EEST 2005
>>>>
>>> same error?
>>>
>>
>> Hrmmn. I don't know if this will be of any help, but here's the  order 
>> of operations I tried to get this to work. Once it worked for  me, I 
>> announced to ahze "That's the solution!" Sorry about this,  Ion-Mihai.
>>
>> 1) portupgrade - failed
>> 2) USE_LIBTOOL_VER -> USE_INC_LIBTOOL_VER, portupgrade - failed
>> 3) removed mpeg4ip
>> 4) set the post-patch: thing in the recent commit, portupgrade -  success
>>
>> So, perhaps removing it entirely first has some effect?
> 
> 
> Removing mpeg4ip-1.1 before building??

Affirmative. That might be the key maybe?

# Adam


-- 
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4290AB45.7090306>