[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build Issues
From: |
jason stein |
Subject: |
Re: Build Issues |
Date: |
Sun, 11 Feb 2024 17:04:34 -0800 |
Hey Kerin,
I am still working through some issues. I was wondering were you able to
build this on windows?
thanks
jason
*Things I did to get thru various issues*
I downloaded the Msys2 env and rand the packman -S --needed base-dev (per
your instructions) I was able to get further. For additional issues I have
done the following following:
1. some additional pacman commands
pacman -S base-devel gcc vim cmake
pacman -S git
pacman -S autoconf
2. dos2unix every file in the repo
3. run yacc to fix a file: yacc --update plural.y
4. run bison manually because plural.y after fixing the file was not
posix: bison
-y -d *-Wno-yacc* --name-prefix=__gettext --output plural.c plural.y
Now I am getting some errors that I am working thru:
making lib/intl/libintl.a in ./lib/intl
make[1]: Entering directory '/d/projects/bash/lib/intl'
gcc -c -DLOCALEDIR=\"/ucrt64/share/locale\"
-DLOCALE_ALIAS_PATH=\"/ucrt64/share/locale\" -DLIBDIR=\"/ucrt64/libdata\"
-DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/ucrt64/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL
-I. -I. -I/d/projects/bash -I../.. -g -O2 plural.c
In file included from plural.y:37:
plural-exp.h:104:23: error: conflicting types for ‘libintl_gettextparse’;
have ‘int(void)’
104 | # define PLURAL_PARSE libintl_gettextparse
| ^~~~~~~~~~~~~~~~~~~~
plural.y:42:25: note: in expansion of macro ‘PLURAL_PARSE’
42 | # define __gettextparse PLURAL_PARSE
| ^~~~~~~~~~~~
On Thu, Feb 8, 2024 at 11:50 AM jason stein <jstein916@gmail.com> wrote:
> Thanks Kerin. I will check that out.
> Jason
>
> On Thu, Feb 8, 2024 at 11:09 AM Kerin Millar <kfm@plushkava.net> wrote:
>
>> On Thu, 8 Feb 2024 08:05:37 -0800
>> jason stein <jstein916@gmail.com> wrote:
>>
>> > I installed make using choco (package manager) using the command "choco
>> > install make". I am also attaching the output of my configure which I
>> > capture with "./configure>configure_output".
>> > thanks
>>
>> I suspect that chocolatey installs a Win32 port that is not intended to
>> be used from within an MSYS2 environment, potentially resulting in issues
>> with pathname translation. If you wish to build for MSYS2 specifically, I
>> would suggest getting rid of "Git for Windows" and installing MSYS2
>> directly from https://www.msys2.org/ instead. With the aid of its pacman
>> utility, you will be able to install all of the prequisites for building
>> bash. Indeed, it offers a base-devel package group that covers a number of
>> packages commonly required for development. It can be installed by issuing
>> the following command.
>>
>> pacman -S --needed base-devel
>>
>> Of course, you may use it to install git as well.
>>
>> Another option would be to use a Linux distribution through WSL (Windows
>> Subsystem for Linux).
>>
>> --
>> Kerin Millar
>>
>
- Build Issues, jason stein, 2024/02/07
- Re: Build Issues, Kerin Millar, 2024/02/08
- Re: Build Issues, jason stein, 2024/02/08
- Re: Build Issues, Kerin Millar, 2024/02/08
- Re: Build Issues, jason stein, 2024/02/08
- Re: Build Issues,
jason stein <=
- Re: Build Issues, Kerin Millar, 2024/02/11
- Re: Build Issues, jason stein, 2024/02/11
- Re: Build Issues, jason stein, 2024/02/11
- Re: Build Issues, jason stein, 2024/02/11
- Re: Build Issues, Zachary Santer, 2024/02/12
- Re: Build Issues, Kerin Millar, 2024/02/13
- Re: Build Issues, Kerin Millar, 2024/02/22
- Re: Build Issues, jason stein, 2024/02/22
- Re: Build Issues, Zachary Santer, 2024/02/12