mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] PTXCONF_HOST_PACKAGE_MANAGEMENT not defined?
@ 2013-07-24 21:16 Matt
  2013-07-25  8:05 ` Jürgen Beisert
  0 siblings, 1 reply; 3+ messages in thread
From: Matt @ 2013-07-24 21:16 UTC (permalink / raw)
  To: ptxdist

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.targetinstall]
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=" /usr/local/lib/ptxdist-2012.12.1/*    
/usr/local/lib/ptxdist-2012.12.1/rules/post/ptxd_make_world_common.make
:   ptx_xpkg_type=$(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 machine.

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


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] PTXCONF_HOST_PACKAGE_MANAGEMENT not defined?
  2013-07-24 21:16 [ptxdist] PTXCONF_HOST_PACKAGE_MANAGEMENT not defined? Matt
@ 2013-07-25  8:05 ` Jürgen Beisert
  2013-07-30 18:53   ` Matt
  0 siblings, 1 reply; 3+ messages in thread
From: Jürgen Beisert @ 2013-07-25  8:05 UTC (permalink / raw)
  To: ptxdist; +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.targetin
>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=" /usr/local/lib/ptxdist-2012.12.1/*
> /usr/local/lib/ptxdist-2012.12.1/rules/post/ptxd_make_world_common.make
>
> :   ptx_xpkg_type=$(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 machine.
>
> 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 ptxconfig 
file and sourced from PTXdist.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] PTXCONF_HOST_PACKAGE_MANAGEMENT not defined?
  2013-07-25  8:05 ` Jürgen Beisert
@ 2013-07-30 18:53   ` Matt
  0 siblings, 0 replies; 3+ messages in thread
From: Matt @ 2013-07-30 18:53 UTC (permalink / raw)
  To: ptxdist

Jürgen Beisert <jbe@...> writes:

> 
> Hi Matt,
> 
> 
> 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 ptxconfig 
> file and sourced from PTXdist.
> 
> Regards,
> Juergen
> 
Thanks for your help. I did do that and cleared one hurdle but ended up
creating more. In the end, I think the big thing that was missing was a
platformconfig. Our version of ptxdist was from 4 years ago and that concept
wasn't in there I think. After following the getting started instructions in
the documentation and then tweaking it to our project I was able to build
everything except for flashrom which is having some problems with pci utils.
Oh well, we don't need that as of right now so I disabled it in the project
and moved on.




-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-30 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-24 21:16 [ptxdist] PTXCONF_HOST_PACKAGE_MANAGEMENT not defined? Matt
2013-07-25  8:05 ` Jürgen Beisert
2013-07-30 18:53   ` Matt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox