Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems compiling libipoddevice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Fri Sep 30, 2005 6:33 am    Post subject: Problems compiling libipoddevice Reply with quote

I am trying to install banshee so i can get my Nano ipod in use on my linux desktop :)

but i get a problem installing the latest version of libipoddevice my error is :

Code:
./.libs/libipoddevice.so: undefined reference to `g_mkdir_with_parents'
collect2: ld returned 1 exit status
make[2]: *** [ipod] Fejl 1
make[2]: Leaving directory `/test/libipoddevice/src'
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/test/libipoddevice'
make: *** [all] Fejl 2



fejl = error (running danish system ;) )

Could it be because i am using to latest cvs version ?
According to this side : http://64.14.94.162/index.php/Gentoo_Compilation that have a guide . . i have every thing needed.

//Garnie
Back to top
View user's profile Send private message
mickywicky
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2002
Posts: 86
Location: London, UK

PostPosted: Fri Sep 30, 2005 6:43 pm    Post subject: Reply with quote

Hate to post this: I've had the exact same error around the time you posted this last night.
Bit'o googling didn't reveal anything that I could make sense of. Seems to be linked to glib somehow, but then everything else on this system has been working flawlessly for 6 months... (save udev :evil: )

Anyone else got this error?
_________________
l€€t = (1+1) * 3 * 3 * 37 = The prime factorization of The Beast
Back to top
View user's profile Send private message
mickywicky
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2002
Posts: 86
Location: London, UK

PostPosted: Sat Oct 01, 2005 8:50 pm    Post subject: Reply with quote

OK I got it to work, but it's dirty:

Tell portage that libipoddevice is really emerged:
echo "dev-libs/libipoddevice-0.3.2" >> /etc/portage/profile/package.provided

then uncompress the sources to a dir of your choice (you can probably just do a tar -zxvf /usr/portage/distfiles/libipoddevice-0.3.2.tar.gz wherever)

cd into libipoddevice-0.3.2/src/
in ipod-device.c replace g_mkdir_with_parents with g_mkdir
save
cd ../
./configure --prefix=/usr
make
make install

emerge banshee will handle the rest.

I think the reason may be an outdated glib. The use of g_mkdir_with_parents was introduced in libipoddevice-0.3.2 only, which is why 0.3.1 compiled without problems (but was useless for the banshee ebuild).
It is a more elegant and correct function to use, so the above should be used with extreme caution.
But it works.
_________________
l€€t = (1+1) * 3 * 3 * 37 = The prime factorization of The Beast
Back to top
View user's profile Send private message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Mon Oct 03, 2005 8:27 am    Post subject: Reply with quote

Perhaps its just me ;) but i fail at this :

in ipod-device.c replace g_mkdir_with_parents with g_mkdir
with this
bash: syntax error near unexpected token `in'

do i need to install a package for this or something ?
Back to top
View user's profile Send private message
mickywicky
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2002
Posts: 86
Location: London, UK

PostPosted: Thu Nov 17, 2005 4:21 pm    Post subject: Reply with quote

I meant replace in the actual text file, i.e. open it, and to a find/replace.
_________________
l€€t = (1+1) * 3 * 3 * 37 = The prime factorization of The Beast
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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