Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdepim, libmal & avantgo syncing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gwaland
n00b
n00b


Joined: 16 Mar 2003
Posts: 5

PostPosted: Mon Jul 14, 2003 9:01 am    Post subject: kdepim, libmal & avantgo syncing Reply with quote

Has anyone been able to get kdepim to install the mal conduit for avantgo?

I've tried emerging libmal 0.31 and hand installing 0.20 and bot times when I try to emerge kdepim it skips the MAL conduit. Has anyone had any success getting it to work?
Back to top
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Thu Jul 31, 2003 2:18 pm    Post subject: No. Reply with quote

My kdepim (3.1.3) is TRYING to use libmal, but it can't find the &%*@ headers!

Code:
/usr/qt/3/bin/moc ./mal-setup.h -o mal-setup.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -I../../../kpilot/lib -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include/libpisock  -DQT_THREAD_SUPPORT  -D_REENTRANT -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include/libpisock  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new  -c -o mal-setup.lo `test -f 'mal-setup.cc' || echo './'`mal-setup.cc
/usr/qt/3/bin/moc ./mal-conduit.h -o mal-conduit.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -I../../../kpilot/lib -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include/libpisock  -DQT_THREAD_SUPPORT  -D_REENTRANT -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include/libpisock  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new  -c -o mal-conduit.lo `test -f 'mal-conduit.cc' || echo './'`mal-conduit.cc
mal-conduit.cc:42:20: libmal.h: No such file or directory
mal-conduit.cc: In function `int malconduit_logf(const char*, ...)':
mal-conduit.cc:56: `va_list' undeclared (first use this function)
mal-conduit.cc:56: (Each undeclared identifier is reported only once for each
   function it appears in.)
mal-conduit.cc:56: syntax error before `;' token
mal-conduit.cc:58: `val' undeclared (first use this function)
mal-conduit.cc:58: `va_start' undeclared (first use this function)
mal-conduit.cc:63: `va_end' undeclared (first use this function)
mal-conduit.cc: In constructor `MALConduit::MALConduit(KPilotDeviceLink*, const
   char*, const QStringList&)':
mal-conduit.cc:87: `register_printStatusHook' undeclared (first use this
   function)
mal-conduit.cc:88: `register_printErrorHook' undeclared (first use this
   function)
mal-conduit.cc: In member function `virtual bool MALConduit::exec()':
mal-conduit.cc:202: `setHttpProxy' undeclared (first use this function)
mal-conduit.cc:203: `setHttpProxyPort' undeclared (first use this function)
mal-conduit.cc:208: `setProxyUsername' undeclared (first use this function)
mal-conduit.cc:209: `setProxyPassword' undeclared (first use this function)
mal-conduit.cc:216: `setSocksProxy' undeclared (first use this function)
mal-conduit.cc:217: `setSocksProxyPort' undeclared (first use this function)
mal-conduit.cc:226: `PalmSyncInfo' undeclared (first use this function)
mal-conduit.cc:226: `pInfo' undeclared (first use this function)
mal-conduit.cc:226: `syncInfoNew' undeclared (first use this function)
mal-conduit.cc:232: `malsync' undeclared (first use this function)
mal-conduit.cc:233: `syncInfoFree' undeclared (first use this function)
make[4]: *** [mal-conduit.lo] Error 1
make[4]: Leaving directory `/usr/local/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/kpilot/conduits/malconduit'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/kpilot/conduits'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/kpilot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3'
make: *** [all] Error 2


I checked (qpkg -l libmal), and the headers are in /usr/include/libmal. How very annoying.
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
Grue
n00b
n00b


Joined: 13 Aug 2002
Posts: 29
Location: Finland

PostPosted: Thu Jul 31, 2003 3:08 pm    Post subject: Reply with quote

ebuild for kdepim 3.1.3 seems to be broken as its trying to use libmal patch for 3.1.2 and it doesnt seem to go in...

Too bad I'm not experienced enough to make new patch which would work here :(

Hmm, I just removed that patch from kdepim-3.1.3.ebuild and it seems that it compiled just fine and avantgo sync is now working with my palm tungsten !

:))
Back to top
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Thu Jul 31, 2003 4:26 pm    Post subject: Oh. Reply with quote

Ah, I see that now, thanks Grue. Kdepim was getting built as part of a long list of other packages, so I didn't see the very beginning of the build where the first hunk of the patch failed.

Crap. Maybe I can fix this a little later. Or maybe someone else can. :D
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Thu Jul 31, 2003 8:34 pm    Post subject: Reply with quote

Oh hey! Yeah, Grue! I just read ALL of your post, and did the same thing (removed the &&PATCH . . . line from the ebuild), and it worked.

So for anyone else having this problem, here's a working kdepim-3.1.3.ebuild:
Code:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/kde-base/kdepim/kdepim-3.1.3.ebuild,v 1.1 2003/07/29 12:44:28 pauldv Exp $
inherit kde-dist

IUSE="pda"
DESCRIPTION="KDE PIM (Personal Information Management) apps: korganizer..."
KEYWORDS="~x86"

newdepend "pda? ( >=dev-libs/pilot-link-0.11.1-r1
                            >=dev-libs/libmal-0.31 )
        dev-lang/perl
        =kde-base/kdebase-${PV}*
        ~kde-base/kdenetwork-${PV}" # mimelib is needed for support of some stuff with exchange servers

use pda && myconf="$myconf --with-extra-includes=/usr/include/libpisock"

# reported by doctomoe on ppc
MAKEOPTS="$MAKEOPTS -j1"
src_compile() {
        use pda && rm -f configure configure.in
                kde_src_compile myconf configure
                kde_src_compile make
}

src_install() {
        kde_src_install
        docinto html
        dodoc *.html
}


Gwaland, you might want to try that. I haven't used it yet, but it did at least compile/install correctly. That's more than I've ever gotten KDEPIM to do with libmal before today!

Cheers!
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum