Hi,

I'm trying to setup PyKDE 3.8 on my SuSE 9.0 machine.  I ran into some 
difficulties in the meantime though.  I am using the SuSE RPMs that came with 
the distrobution for PyQT and PyQT-devel as well as sip (all are 3.8.)  I 
found the note about SuSE 8.2/9.0 using an incorrect version of kfileshare.h 
and looking at the kfileshare.sip in the sip directory of the PyKDE package 
it looks like all of the setShared calls are already commented out (I've 
attached it though just in case.)

I ran the python build output to a text file and have attached it to the email 
as well (it's called output.txt.)

Thanks for the help,
Justin


Building PyKDE 3.8 on linux2.

Python version is 2.3
Python parent directory is /usr/lib/python2.3
Python library directory is /usr/lib/python2.3/config
Python include directory is /usr/include/python2.3

Home directory is /home/justin

sip code generator path (sip) is /usr/bin
sip version is 3.8
sip lib directory (libsip*) is /usr/lib/python2.3/site-packages
sip include directory (sipQt.h) is /usr/include/python2.3

Qt3 parent directory is /usr/lib/qt3
Qt3 lib directory (libqt-mt.so.3) is /usr/lib/qt3/lib
Qt3 include directory (qglobal.h) is /usr/lib/qt3/include
Qt version is 3.2.1

PyQt lib directory is /usr/lib/python2.3/site-packages
PyQt lib version is 3.8

*** Error: PyQt sip files directory -- not found
 (['../', '/usr/local/', '/usr/local/src/', '/usr/src/', '/usr/share/sip', 
'/usr/local/share/sip', '/usr/share/sip/qt'], PyQt-x11-gpl-3.8/sip/qtmod.sip)

Please review the installation documentation before reporting errors
When reporting errors, include the complete output of this program

//
//     Copyright 2003 Jim Bublitz <[EMAIL PROTECTED]>
//     Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson
//     may also apply


//                 Generated by preSip
//            module kio  version KDE_3_1_4


// This software is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; either version 2 of
// the License, or (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this library; see the file COPYING.
// If not, write to the Free Software Foundation, Inc.,
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


%If ( KDE_3_1_0 -  )

class KFileSharePrivate : QObject
{
%HeaderCode
#include <kfileshare.h>
%End


public:
                         KFileSharePrivate ();
    KDirWatch*           m_watchFile;
    static KFileSharePrivate* self ();
    KFileSharePrivate*   _self;

protected slots:
    void                 slotFileChange (const QString&);

};  // class KFileSharePrivate

%End


%If ( KDE_3_1_0 -  )

class KFileShare
{
%HeaderCode
#include <kfileshare.h>
%End


public:
    static void          readConfig ();
    static bool          isDirectoryShared (const QString&);

    enum Authorization
    {
        NotInitialized, 
        ErrorNotFound, 
        Authorized, 
        UserNotAllowed
    };

    static KFileShare::Authorization authorization ();
    static QString       findExe (const char*);

//%If ( KDE_3_1_3 -  )
//    static bool          setShared (const QString&, bool);
//%End


public:

//%If (  - KDE_3_1_2 )
//    static bool          setShared (const QString&, bool);
//%End


//%If ( KDE_3_1_2 - KDE_3_1_3 )
//    static bool          setShared (const QString&, bool, bool);
//%End


};  // class KFileShare

%End

Reply via email to