protux-devel
[Top][All Lists]
Advanced

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

Re: [Protux-devel] vtable problem


From: Stew Benedict
Subject: Re: [Protux-devel] vtable problem
Date: Wed, 20 Nov 2002 11:46:38 -0500 (EST)

On Wed, 20 Nov 2002, Luciano Giordana wrote:

> > --> Reached mark Is anybody getting bad file descriptor error right below
> > ?
> > --> Reached mark Is anybody getting bad file descriptor error right above
> > ?
> 
> These are normal, I will remove this soon
> 
> >
> > *** Error in Help::Help(QString, QWidget*)
> > Cannot open help.text file
> > Segmentation fault
> >
> 
> oh oh...
> 
> please check if you have a file /usr/local/share/protux/help.text
> 

Not usr/local/share, but /usr/share since it's a Mandrake rpm. this should
have been dealt with by our %configure and %makeinstall macros:

address@hidden failure]$ rpm -ql protux
/usr/bin/protux
/usr/lib/menu/protux
/usr/share/doc/protux-0.15.7
/usr/share/doc/protux-0.15.7/AUTHORS
/usr/share/doc/protux-0.15.7/COPYING
/usr/share/doc/protux-0.15.7/COPYRIGHT
/usr/share/doc/protux-0.15.7/README
/usr/share/icons/protux.png
/usr/share/protux
/usr/share/protux/help.text
/usr/share/protux/helpbg.jpg
/usr/share/protux/jmb.map
/usr/share/protux/protux.xpm
/usr/share/protux/protuxSplash.jpg
 
> if you dont, maybe there is some problem on the installation..
> 
> (BTW, did you run make install?)
>

Yes, under the guise of %makeinstall, within the rpm spec file:

address@hidden failure]$ rpm --eval=%makeinstall

    make \
        prefix=/usr \
        exec_prefix=/usr \
        bindir=/usr/bin \
        sbindir=/usr/sbin \
        sysconfdir=/etc \
        datadir=/usr/share \
        includedir=/usr/include \
        libdir=/usr/lib \
        libexecdir=/usr/lib \
        localstatedir=/var/lib \
        sharedstatedir=/usr/com \
        mandir=/usr/share/man \
        infodir=/usr/share/info \
    install

An strace does show the app still is looking in /usr/local/share/protux,
even though %configure and %makeinstall would normally have addressed the
path issues:

address@hidden stew]$ rpm --eval=%configure

snip a bunch of compiler flags...

        --prefix=/usr \
        --exec-prefix=/usr \
        --bindir=/usr/bin \
        --sbindir=/usr/sbin \
        --sysconfdir=/etc \
        --datadir=/usr/share \
        --includedir=/usr/include \
        --libdir=/usr/lib \
        --libexecdir=/usr/lib \
        --localstatedir=/var/lib \
        --sharedstatedir=/usr/com \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info

I'll take a closer look at the path issue, thanks.

Stew Benedict

-- 
MandrakeSoft    
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc
Archives: http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&r=1&w=2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]