From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?iso-8859-1?q?J=FCrgen_Beisert?= Date: Thu, 25 Jul 2013 10:05:08 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201307251005.08425.jbe@pengutronix.de> Subject: Re: [ptxdist] PTXCONF_HOST_PACKAGE_MANAGEMENT not defined? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Matt Hi Matt, On Wednesday 24 July 2013 23:16:20 Matt wrote: > I'm very new to ptxdist so I apologize for any rookie mistakes. > > I'm trying to build a project that a previous employee had made. So far I > think I have successfully gotten ptxdist installed (albeit a way newer > version,) built a toolchain and setup the project from before. Whenever I > run ptxdist go it bails on the following: > > --------------------------- > target: glibc.targetinstall > --------------------------- > > ptx xpkg type is and pkg xpkg is glibc > ptxdist: error: 'pkg_xpkg' or 'ptx_xpkg_type' undefined > make: *** > [/home/matt/svn-ops/trunk/ptxdist/slab/platform-i586-unknown-linux-gnu-gcc > -4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/state/glibc.target= in >stall] Error 1 > > I added the line where it shows the values of the two variables that are > possibly undefined. After hunting down ptx_xpkg_type it shows this: > > $ grep -r "ptx_xpkg_type=3D" /usr/local/lib/ptxdist-2012.12.1/* > /usr/local/lib/ptxdist-2012.12.1/rules/post/ptxd_make_world_common.make > > : ptx_xpkg_type=3D$(PTXCONF_HOST_PACKAGE_MANAGEMENT) > > However, I can't find anywhere where that variable is assigned. > > Can anyone tell me what this variable is and how it gets defined? Please > let me know if there is any information you need provided about my machin= e. > > Fedora 18 64 bit > OSELAS.Toolchain-2012.12.1/i586-unknown-linux-gnu/gcc-4.7.2-glibc-2.16.0 > -binutils-2.22-kernel-3.6-sanitized > ptxdist 12.12.01 How did you migrate your project to the more recent PTXdist? In a recent PTXdist you find the "HOST_PACKAGE_MANAGEMENT" symbol in: $ ptxdist menuconfig Host Tools ---> package management (ipkg ) ---> The result gets stored in "PTXCONF_HOST_PACKAGE_MANAGEMENT" in your ptxconf= ig = file and sourced from PTXdist. Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de