Request 242 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/242
      Ticket: [OpenPKG #242]
     Subject: python-2.2.3-1.3.0 and ncurses-5.3.20030726-1.3.0
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: Nobody
      Status: open
 Transaction: Correspondence added by [EMAIL PROTECTED]
        Time: Fri Aug 29 10:44:22 2003
________________________________________________________________________

Michael,

The rpm builds fine if it doesn't find the ncurses packages, but it then
fails when a script tries to import curses. You can test this doing the
following:

$ python
Python 2.2.3 (#1, Aug 29 2003, 09:08:46)
[GCC 3.3.1] on osf1V5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses;
>>>

If the ncurses wasn't found, you will get an error here. Note: the error
also refers to the RPM_BUILD_ROOT location, instead of the installed
location. Harmless, but misleading.

Regards,

Karl

> -----Original Message-----
> From: Michael van Elst via RT [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2003 10:06
> To: [EMAIL PROTECTED]
> Subject: [OpenPKG #242] python-2.2.3-1.3.0 and
> ncurses-5.3.20030726-1.3.0 
> 
> 
> Request 242 was acted upon.
> ______________________________________________________________
> ___________
> 
>          URL: https://rt.openpkg.org/id/242
>       Ticket: [OpenPKG #242]
>      Subject: python-2.2.3-1.3.0 and ncurses-5.3.20030726-1.3.0
>   Requestors: [EMAIL PROTECTED]
>        Queue: openpkg
>        Owner: Nobody
>       Status: open
>  Transaction: Correspondence added by mlelstv
>         Time: Fri Aug 29 10:06:06 2003
> ______________________________________________________________
> ___________
> 
> On Fri, Aug 29, 2003, Karl Vogel via RT wrote:
> 
> Karl,
> 
> > Python looks for ncurses.h in %{l_prefix}/include whereas 
> it is installed in
> > a sub directory %{l_prefix}/include/ncurses.
> 
> python either must not look at ncurses at all or must 
> explicitely depend
> on the the ncurses package.
> 
> 
> > This is easily fixed with
> > adding:
> > 
> >     ln -s ncurses/ncurses.h ncurses.h
> > 
> > to the ncurses package. Red Hat also links to 
> ncurses/curses.h, maybe adding
> > that also, will fix some other built problems too?!
> 
> While that is a simple trick, it clutters the namespace for 
> include files.
> We would have to force more packages to ignore the header when it were
> visible at the top level directory.
> 
> The correct way is to provide an include path to the ncurses 
> subdirectory
> if and only if the package also has a dependency to the 
> ncurses package.
> 
> I'll have a look.
> 
> 
> Greetings,
> -- 
>     ,eM""=.            a"-.                         Michael van Elst
>    dWWMWM" -          :GM==;                        
> [EMAIL PROTECTED]
>   :WWMWMw=--.          "W='  cable & wireless
>    9WWMm==-.
>     "-Wmw-"  CABLE & WIRELESS
> 

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Bug Database Interface                           www.openpkg.org/bugdb
Bug Database List                            [EMAIL PROTECTED]

Reply via email to