Uli, thanks for suggestions.

1. I've tried to run tests using python2.6 and libavg installed using
the Installer (with failed post-install script). The result:
$ cd /Library/Python/2.6/site-packages/libavg/avg/test
$ python2.6 Test.py
Segmentation fault: 11

2. Sources: I've replaced the SDL 1.2.14 with non-stable 1.3 from
mercurial repository. The error has changed to the following:
        /bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I..
-I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1
-DDEPENDS_ON_LIBINTL=1  -I../intl
-I///Users/oleksandr/Documents/Projects/libavg/include/libxml2
-I./libcroco  -I/Users/oleksandr/Documents/Projects/libavg/include
-O3 -gstabs -Wall -pipe  -c -o strstr.lo strstr.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\"
-DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I..
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -I../intl
-I///Users/oleksandr/Documents/Projects/libavg/include/libxml2
-I./libcroco -I/Users/oleksandr/Documents/Projects/libavg/include -O3
-gstabs -Wall -pipe -c strchrnul.c -o strchrnul.o
stpncpy.c:34: error: expected declaration specifiers or ‘...’ before
numeric constant
stpncpy.c:34: error: expected ‘)’ before ‘!=’ token
stpncpy.c:34: error: expected ‘)’ before ‘?’ token
make[4]: *** [stpncpy.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\"
-DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I..
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -I../intl
-I///Users/oleksandr/Documents/Projects/libavg/include/libxml2
-I./libcroco -I/Users/oleksandr/Documents/Projects/libavg/include -O3
-gstabs -Wall -pipe -c strstr.c -o strstr.o
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


I hope that helps to resolve the issue.

Thanks,
Alex.


On Sun, Nov 20, 2011 at 2:37 AM, Ulrich von Zadow <[email protected]> wrote:
> Hi Alex,
>
> sorry for the late reply, I'm not in the office at the moment. I'll be
> back end of the coming week.
>
> In the meantime:
>
> - for the installer: This is the post-install script failing, so the
> install itself probably went through without any problems. Try executing
> the tests as explained on the install page and see what happens. It looks
> like you might run into the long startup times issue, though:
> http://www.libavg.de/wiki/MacInstallIssues
>
> - For the source install: Try updating SDL in the dependencies -  they've
> fixed some Lion-related issues if I remember correctly.
>
> Cheers,
>
>  Uli
>
> Alexander Lobunets wrote:
>> Hi Ulrich!
>>
>> The installer just says Failed and the following message can be found
>> in the console:
>>
>> 11/16/11 11:16:01.069 AM installd: PackageKit: Install Failed: Error
>> Domain=PKInstallErrorDomain Code=112 "An error occurred while running
>> scripts from the package “libavg.pkg”." UserInfo=0x7fd83be28d90
>> {NSFilePath=./postflight,
>> NSURL=file://localhost/Volumes/libavg.pkg%201/libavg.pkg#dist.pkg,
>> PKInstallPackageIdentifier=org.c-base.libavg.dist.pkg,
>> NSLocalizedDescription=An error occurred while running scripts from
>> the package “libavg.pkg”.} {
>>     NSFilePath = "./postflight";
>>     NSLocalizedDescription = "An error occurred while running scripts
>> from the package \U201clibavg.pkg\U201d.";
>>     NSURL = "file://localhost/Volumes/libavg.pkg%201/libavg.pkg#dist.pkg";
>>     PKInstallPackageIdentifier = "org.c-base.libavg.dist.pkg";
>> }
>>
>>
>> When I try the sources I've got the following:
>>
>> libtool: compile:  gcc -O3 -gstabs -Wall -pipe
>> -I/Users/oleksandr/Documents/Projects/libavg/include -I./include
>> -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
>> -fvisibility=hidden -force_cpusubtype_ALL -fpascal-strings -c
>> ./src/video/SDL_cursor.c -o build/SDL_cursor.o
>> /bin/sh ./libtool --mode=compile gcc -O3 -gstabs -Wall -pipe
>> -I/Users/oleksandr/Documents/Projects/libavg/include  -I./include
>> -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
>> -fvisibility=hidden -force_cpusubtype_ALL -fpascal-strings -c
>> ./src/video/SDL_gamma.c  -o build/SDL_gamma.lo
>> libtool: compile:  gcc -O3 -gstabs -Wall -pipe
>> -I/Users/oleksandr/Documents/Projects/libavg/include -I./include
>> -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
>> -fvisibility=hidden -force_cpusubtype_ALL -fpascal-strings -c
>> ./src/video/SDL_gamma.c -o build/SDL_gamma.o
>> {standard input}:2352:suffix or operands invalid for `movq'
>> {standard input}:2395:suffix or operands invalid for `movq'
>> {standard input}:2616:suffix or operands invalid for `movq'
>> {standard input}:2677:suffix or operands invalid for `movq'
>> /bin/sh ./libtool --mode=compile gcc -O3 -gstabs -Wall -pipe
>> -I/Users/oleksandr/Documents/Projects/libavg/include  -I./include
>> -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
>> -fvisibility=hidden -force_cpusubtype_ALL -fpascal-strings -c
>> ./src/video/SDL_pixels.c  -o build/SDL_pixels.lo
>> {standard input}:4685:suffix or operands invalid for `movq'
>> {standard input}:4785:suffix or operands invalid for `movq'
>> {standard input}:5104:suffix or operands invalid for `movq'
>> {standard input}:5210:suffix or operands invalid for `movq'
>> make: *** [build/SDL_blit_A.lo] Error 1
>> make: *** Waiting for unfinished jobs....
>> libtool: compile:  gcc -O3 -gstabs -Wall -pipe
>> -I/Users/oleksandr/Documents/Projects/libavg/include -I./include
>> -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
>> -fvisibility=hidden -force_cpusubtype_ALL -fpascal-strings -c
>> ./src/video/SDL_pixels.c -o build/SDL_pixels.o
>> {standard input}:1168:suffix or operands invalid for `movq'
>> {standard input}:1829:suffix or operands invalid for `movq'
>> {standard input}:2566:suffix or operands invalid for `movq'
>> {standard input}:2836:suffix or operands invalid for `movd'
>> {standard input}:2934:suffix or operands invalid for `movq'
>> {standard input}:3884:suffix or operands invalid for `movq'
>> {standard input}:4433:suffix or operands invalid for `movq'
>> {standard input}:4992:suffix or operands invalid for `movq'
>> {standard input}:5207:suffix or operands invalid for `movd'
>> {standard input}:5307:suffix or operands invalid for `movq'
>> make: *** [build/SDL_RLEaccel.lo] Error 1
>>
>>
>> On Tue, Nov 15, 2011 at 10:15 AM, Ulrich von Zadow <[email protected]>
>> wrote:
>>> Hi Alex,
>>>
>>> how does the install fail? I've seen the release installer for libavg
>>> 1.7 work on Lion, but it does install libavg under Python 2.6. Python
>>> 2.6 is installed on Lion as well, so your problem might just be that
>>> you're starting the wrong python version.
>>>
>>> Cheers,
>>>
>>>  Uli
>>>
>>> On Nov 15, 2011, at 5:43 PM, Alexander Lobunets wrote:
>>>
>>>> Forgot to mention:
>>>>
>>>> Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
>>>> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
>>>> darwin
>>>>
>>>> on my machine.
>>>>
>>>> Thanks.
>>>>
>>>> On Tue, Nov 15, 2011 at 9:41 AM, Alexander Lobunets
>>>> <[email protected]> wrote:
>>>>> Hello!
>>>>>
>>>>> I'm currently fighting with installation of libavg on a OSX Lion. The
>>>>> latest version of the installer fails and the source's MakeMacDist.sh
>>>>> contains the following:
>>>>>
>>>>> if [[ "${DARWINMAJORVER}" == "10" ]]
>>>>> then
>>>>>    PYTHONVERSION=2.6
>>>>>    OSXVERSION=10.6
>>>>>    BUILDDIR=/usr/local/lib/python2.6/
>>>>> else
>>>>>    PYTHONVERSION=2.5
>>>>>    OSXVERSION=10.5
>>>>>    BUILDDIR=/Library/Python/2.5
>>>>>    sudo rm -rf ${BUILDDIR}/site-packages/libavg
>>>>>    sudo make install
>>>>>
>>>>> which suggests it's impossible? :)
>>>>>
>>>>> Any hints are appreciated.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> --
>>>>> Kind regards,
>>>>> Alex
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> All the best,
>>>> Alexander.
>>>>
>>>> _______________________________________________
>>>> libavg-users mailing list
>>>> [email protected]
>>>> https://mail.datenhain.de/mailman/listinfo/libavg-users
>>>>
>>>
>>> --
>>> Any technology distinguishable from magic is insufficiently advanced.
>>>
>>> Ulrich von Zadow | +49-172-7872715
>>> Jabber: [email protected]
>>> Skype: uzadow
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> libavg-users mailing list
>>> [email protected]
>>> https://mail.datenhain.de/mailman/listinfo/libavg-users
>>>
>>
>>
>>
>> --
>> All the best,
>> Alexander.
>>
>> _______________________________________________
>> libavg-users mailing list
>> [email protected]
>> https://mail.datenhain.de/mailman/listinfo/libavg-users
>>
>>
>
>
>
> _______________________________________________
> libavg-users mailing list
> [email protected]
> https://mail.datenhain.de/mailman/listinfo/libavg-users
>



-- 
All the best,
Alexander.

_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to