mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Jürgen Beisert" <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Matt <drkmask12@msn.com>
Subject: Re: [ptxdist] PTXCONF_HOST_PACKAGE_MANAGEMENT not defined?
Date: Thu, 25 Jul 2013 10:05:08 +0200	[thread overview]
Message-ID: <201307251005.08425.jbe@pengutronix.de> (raw)
In-Reply-To: <loom.20130724T225813-355@post.gmane.org>

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

  reply	other threads:[~2013-07-25  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24 21:16 Matt
2013-07-25  8:05 ` Jürgen Beisert [this message]
2013-07-30 18:53   ` Matt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201307251005.08425.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=drkmask12@msn.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox