aMule Forum

English => Compilation problems => Topic started by: stoatwblr on November 14, 2011, 02:36:22 AM

Title: Ubuntu 11.10 regression: Libreadline
Post by: stoatwblr on November 14, 2011, 02:36:22 AM

nothing major, just a prerequsite package has been renamed

Building dependency tree       
Reading state information... Done
Package libreadline5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libreadline-gplv2-dev:i386 lib64readline-gplv2-dev:i386
  libreadline-gplv2-dev

E: Package 'libreadline5-dev' has no installation candidate

Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: Stu Redman on November 14, 2011, 09:00:11 PM
What are you doing? I have never installed a libreadline-something.
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: Vollstrecker on November 14, 2011, 09:53:42 PM
I guess he tries to build packages, and I guess I forgot to change libreadline5-dev to the generic libreadline-dev in Build-Deps. Iirc it's needed for amulecmd.
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: Stu Redman on November 14, 2011, 10:33:12 PM
The whole package (without the plamamule) builds and runs fine on Obnoxious Ozelot without any libreadline-dev. The package description in the wiki (http://wiki.amule.org/index.php/HowTo_Compile_In_Ubuntu) works with a from-scratch Ubuntu installation.
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: Kry on November 15, 2011, 08:16:36 AM
libreadline is used for amulecmd, iirc.
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: stoatwblr on November 15, 2011, 01:22:29 PM
What are you doing? I have never installed a libreadline-something.

Using the instructions in readme-debian for making .deb packages.

It's overridable in any case, but it gives Vollstrecker the hint he needs to make it work again.

Compilation itself works fine.

Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: GonoszTopi on November 15, 2011, 04:33:22 PM
libreadline is used for amulecmd, iirc.
Right. An optional prerequisite.
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: stoatwblr on November 15, 2011, 09:57:52 PM

Compilation on Oneiric is also failing on lack of wx-config - the bundled wxwidgets is 2.8.11, not 2.8.12.

There used to be a wxwidgets ppa but that seems to have disappeared.
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: Stu Redman on November 15, 2011, 10:29:15 PM
An optional prerequisite.
You mean, you can install it, but compilation works without it as well? That's true for almost every available package.  :P

Compilation on Oneiric is also failing on lack of wx-config - the bundled wxwidgets is 2.8.11, not 2.8.12.
We noticed. It's rapidly regressing to Debian level. One of the reasons I call it "Obnoxious".
You have to compile wx yourself as described in the wiki.

And Festor has found more important stuff to do with his life, so we have to make do without Ubuntu packages for now.  :(
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: GonoszTopi on November 16, 2011, 06:27:43 PM
An optional prerequisite.
You mean, you can install it, but compilation works without it as well? That's true for almost every available package.  :P
I mean if you don't have readline you can still compile and run amulecmd (and amuleweb), but you won't have command history and advanced line editing support.
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: stoatwblr on November 17, 2011, 01:42:55 AM
And Festor has found more important stuff to do with his life, so we have to make do without Ubuntu packages for now.  :(

I'm just trying to run through the compilation method in README.debian

I sorted the wxwidgets issue (had to reinstall all the packages) but now I'm running into a bunch of QT errors when compiling plasmamule which appear to be missing libraries, but as far as I can tell everything is installed.

Has anyone had plasmamule working in any version of Ubuntu? (I never have been able to get this to compile)
Title: Re: Ubuntu 11.10 regression: Libreadline
Post by: Vollstrecker on November 17, 2011, 02:17:09 PM
I just compiled the pkg's for testing and now stable's are compiling, so at least here they work. The readline problem can be solved by editing debian/control, just grep for it, there's only one line with readline.

For the Qt-Errors, there has been a problem some time ago, where the libs has been split, but before I got time to investigate this, it disappeared. Stable has versions before the prob, testing has one after it. It seems Ubuntu has released right in that period. But the error should tell you everything needed.

I'm thinking about building at least wx and 2.3.1 for Ubuntu too. Maybe more when I find time.