Hi Stewart,

On Thu, Sep 8, 2011 at 12:56 AM, stewart mackenzie <[email protected]> wrote:
> Hi there Gustavo,
>
> Actually I have all of those packages already installed.
> (namely $sudo pacman -S  base-devel tk tcl gmp gbdm emacs)
>
> I forgot to mention, it is indeed a 64 bit environment.
>
> As for AUR:
> <snip>
> [stewart@rivergod ~]$ sudo packer -S mozart
> Password:
>
> Aur Targets    (1): mozart
>
> Proceed with installation? [Y/n]
>
> Edit mozart PKGBUILD with $EDITOR? [Y/n] n
> ==> ERROR: mozart is not available for the 'x86_64' architecture.
>    Note that many packages may need a line added to their PKGBUILD
>    such as arch=('x86_64').
> The build failed.
> </snip>
>
> I do want the github version, as it works with transdraw, and other
> later applications.
>
> This is what the github configure script says:
>
> <snip>
> checking for stdint.h... (cached) yes
> checking for gethostbyaddr in -lnsl... no
> checking for gethostbyaddr in -lc... no
> checking for gethostbyaddr... no
> configure: error: Function gethostbyaddr is not available.
> The system cannot be built.
>
> configure: error:
> /home/stewart/devtools/mozart/platform/emulator/configure failed for
> emulator
> configure: error: /home/stewart/devtools/mozart/platform/configure
> failed for platform
> </snip>
>
> I recall this was easily fixable with the ubuntu system, requiring a
> simple dep install - was it g++-multilib that solved it on ubuntu? If
> so what is the equivalent Arch lib?

You need to install these packages: gcc-multilib gcc-libs-multilib
binutils-multilib libtool-multilib lib32-glibc

See 
https://wiki.archlinux.org/index.php/Arch64_FAQ#Can_I_build_32-bit_packages_for_i686_inside_Arch64.3F

Good luck.

>
> I would like to be able to build an Arch Packer file for this to
> automate the process for other users.
>
> Kind regards
>
> Stewart
>
> 2011/9/8 Gustavo A. Gómez Farhat <[email protected]>:
>> On Wed, Sep 7, 2011 at 1:49 PM, stewart mackenzie <[email protected]> wrote:
>>> Has anybody managed to get mozart (github version) running on arch?
>>>
>>> specifically:
>>>
>>> what are the equivalent arch packages for:
>>>
>>> tk-dev
>>> tcl-dev
>>> build-essential
>>> libc6-dev
>>> g++-multilib
>>> ia32-libs
>>> lib32z1-dev
>>> lib32gmp3-dev
>>> libgdbm-dev
>>>
>>> kind regards
>>
>> Stewart, you need to install base-devel, tk, tcl, gmp, gbdm and emacs.
>> I am asumming you are on a 32 bit environment. There is an AUR package
>> at http://aur.archlinux.org/packages.php?ID=14647 which builds the
>> stable version. You could use it to see how to compile the Git
>> version. There is a patch needed available at
>> http://pastebin.com/T0ypjpJN
>>
>> Regards.
>>
>>>
>>> Stewart
>>> _________________________________________________________________________________
>>> mozart-users mailing list                               
>>> [email protected]
>>> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>>>
>>
>>
>>
>> --
>> Gustavo Andrés Gómez Farhat
>> Webmaster y Laboratorista
>> Departamento de Ciencias e Ingeniería de la Computación
>> Pontificia Universidad Javeriana
>> Cali
>> _________________________________________________________________________________
>> mozart-users mailing list                               
>> [email protected]
>> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>>
> _________________________________________________________________________________
> mozart-users mailing list                               
> [email protected]
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>



-- 
Gustavo Andrés Gómez Farhat
Webmaster y Laboratorista
Departamento de Ciencias e Ingeniería de la Computación
Pontificia Universidad Javeriana
Cali
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to