First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 30488
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard Lärkäng <richard@goteborg.utfors.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
clanlib.patch Patch to fix the problem patch Richard Lärkäng 2003-10-06 09:32 0000 389 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 30488 depends on: Show dependency tree
Bug 30488 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-10-06 09:31 0000
The clanlib libs are installed in a non-standard location (/usr/lib/clanlib),
but the ebuild doesn't set an ld-path, so programs built with a clanlib library
can't be run by default.

I will submit a patch to fix this.

------- Comment #1 From Richard Lärkäng 2003-10-06 09:32:06 0000 -------
Created an attachment (id=18856) [edit]
Patch to fix the problem

------- Comment #2 From SpanKY 2003-10-06 09:56:19 0000 -------
links are created for the libraries ... what version of clanlib are you using
?

------- Comment #3 From Richard Lärkäng 2003-10-06 13:23:16 0000 -------
I'm using 0.7.3.

Looking at the ebuilds and in /usr/lib, I can't understand where the files
are supposed to be, are you really sure that links are created somewhere?

------- Comment #4 From SpanKY 2003-10-06 13:43:46 0000 -------
err it used to ... seems karl's version bump broke this ...

------- Comment #5 From SpanKY 2003-10-06 17:05:08 0000 -------
ok i ver bumped to 0.7.4 and re-instated the 0.7.2 way of SLOT-ing things

you should be all set now (after you update to 0.7.4 and clean out 0.7.3
that is)

------- Comment #6 From Richard Lärkäng 2003-10-07 10:55:48 0000 -------
Hmm, looks like I failed to explain what the bug was about, or I'm just
incredibly
stupid, because I can't see how this would be fixed with the new ebuild.

I am developing a small game, and to link it I have to provide
-L/usr/lib/clanlib-0.7.4,
and there's no problem there, but when I run it, I get an error complaining
that libClanCore can't be found, which is expected, since it is installed
in an non-standard location, and there isn't an LDPATH set in /etc/env.d
which contains /usr/lib/clanlib-0.7.4. So you can't run programs linked to
clanlib without modifying the system.

So I guess the solution would be to either use the patch I attached, or install
the clanlib libs in /usr/lib.

Hope I managed to explain what I want, as I'm not really sure about the
terminology
used here.

------- Comment #7 From SpanKY 2003-10-07 11:58:04 0000 -------
i know exactly what you're talking about and i said you shouldnt have to

the package creates symlinks in /usr/lib to the libraries in clanlib-0.7.4
... the reason for this is to SLOT clanlib 0.6.x and 0.7.x ...

root@vapier 0 root # readlink /usr/lib/libclanCore.a
/usr/lib/clanlib-0.7.4/libclanCore.a
root@vapier 0 root # readlink /usr/lib/libclanCore.so
/usr/lib/clanlib-0.7.4/libclanCore.so

------- Comment #8 From Richard Lärkäng 2003-10-07 12:20:12 0000 -------
Strange, I don't have those files...

local root # ls /usr/lib/libclan*
ls: /usr/lib/libclan*: No such file or directory

------- Comment #9 From Richard Lärkäng 2003-10-07 12:44:49 0000 -------
Oh, finally understanding what the problem is :-)
When I tried to unmerge both 0.7.3 and 0.7.4 and the emerge 0.7.4 again I
saw this at the end:

>>> /usr/share/doc/clanlib-0.7.4/README.distros.gz
>>> /usr/share/doc/clanlib-0.7.4/README.kdevelop.gz
>>> /usr/share/doc/clanlib-0.7.4/README.upgrade.gz
*****************
/usr/sbin/ebuild.sh: line 63: clanlib-config: command not found
*****************
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...                                      
   [ ok ]
>>> dev-games/clanlib-0.7.4 merged.
>>> Recording dev-games/clanlib in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Regenerating /etc/ld.so.cache...

Appearantly the ebuild requires an old and working clanlib, which installed
clanlib-config to be installed previously...

(I apologize if I should have opened a new bug instead)

------- Comment #10 From SpanKY 2003-10-07 12:52:37 0000 -------
ah, i missed that ...
karl's upgrade to 0.7.3 removed the dobin cmd and i forgot to add it back
in ...

fixed in cvs ...
just do this so you dont have to re-emerge the pkg:
cp /usr/portage/dev-games/clanlib/files/clanlib-config /usr/bin/
clanlib-config 0.7.4

First Last Prev Next    No search results available      Search page      Enter new bug