tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How do i install pkgsrc in windows with Cygwin



Hello 

Thanks a lot. It installed the pkgsrc. However, cygwin can't find bmake command. Do i need to add the path in .profile or .bash_profile ? Those files seem a bit different than unix system.

Thanks once again.

BR

Amil 


From: Ottavio Caruso <ottavio2006-degen%yahoo.com@localhost>
Sent: Wednesday, December 20, 2017 9:42:53 AM
To: Z Saifullah
Cc: Sevan Janiyan; tech-pkg%netbsd.org@localhost
Subject: Re: How do i install pkgsrc in windows with Cygwin
 
On 19 December 2017 at 06:52, Z Saifullah <zmsaif%nmsu.edu@localhost> wrote:
> Hi
>
> Thank you for your time, really appreciate it. I tried the patch,  but sadly
> didn't work for me.
>
>
> machine_arch='uname -m' gives
>
>
> ===> Bootstrapping bmake
> ===> running: /usr/bin/sh
> /home/jemima/PKGSRC/pkgsrc-current/bootstrap/work/bin/install-sh -d -o
> 197608 -g 197121 /home/jemima/PKGSRC/pkgsrc-current/bootstrap/work/bmake
> ===> running: (cd /home/jemima/PKGSRC/pkgsrc-current/bootstrap/work/bmake &&
> /usr/bin/sh configure
> --prefix=/home/jemima/PKGSRC/pkgsrc-current/bootstrap/work
> --with-default-sys-path=/home/jemima/PKGSRC/pkgsrc-current/bootstrap/work/share/mk
> --with-machine-arch=uname -m )
> configure: error: unrecognized option: `-m'
> Try `configure --help' for more information.
> ===> exited with status 1
> aborted.
>
>
>
>
> machine_arch='uname-m' gives (without space !)
>
> ===> Patching for bmake-20150505
> ===> Creating toolchain wrappers for bmake-20150505
> ===> Configuring for bmake-20150505
> => Configuring and building libnbcompat
> checking build system type... x86_64-unknown-cygwin
> checking host system type... Invalid configuration `uname-m-pc-cygwin':
> machine `uname-m-pc' not recognized
> configure: error: /bin/sh ./config.sub uname-m-pc-cygwin failed
> *** Error code 1
>
> Stop.
> bmake[1]: stopped in /home/jemima/PKGSRC/pkgsrc-current/devel/bmake
> *** Error code 1
>
> Stop.
> bmake: stopped in /home/jemima/PKGSRC/pkgsrc-current/devel/bmake
> ===> exited with status 1
>
> Thanks
>
> Amil
>
>
>
> ________________________________
> From: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
> Sent: Friday, December 8, 2017 4:21 PM
> To: Z Saifullah; tech-pkg%netbsd.org@localhost
> Subject: Re: How do i install pkgsrc in windows with Cygwin
>
> On 05/12/2017 08:46, Z Saifullah wrote:
>> I am attaching the output file for your conveniences. If anyone already
>> installed in any other/ modified way, please share the procedure.
>
> Please try applying this patch & bootstrap again.
>
> Index: bootstrap/bootstrap
> ===================================================================
> RCS file: /cvsroot/pkgsrc/bootstrap/bootstrap,v
> retrieving revision 1.244
> diff -u -u -r1.244 bootstrap
> --- bootstrap/bootstrap 22 Oct 2017 19:29:20 -0000      1.244
> +++ bootstrap/bootstrap 8 Dec 2017 23:13:02 -0000
> @@ -542,6 +542,7 @@
>          need_awk=no
>          need_sed=no
>          need_xargs=no
> +       machine_arch=`uname -m`
>          # only used for unprivileged builds.
>          whoamiprog='id -u'
>          groupsprog='id -g'

It looks like you have single quotes instead of backticks.




--
73 de ottavio M6OTV


Home | Main Index | Thread Index | Old Index