New to compiling. Can't configure

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

New to compiling. Can't configure

#1 Post by noalternative »

I am trying to compile a purple-facebook.pet for pidgin. I have downloaded devx and kernel sources. I have dowloaded the file from github, and downloaded the tar.gz, but whenever I extract, and open a terminal and type ./configure I get.

root# ./configure
bash: ./configure: No such file or directory
root#

I am using instructions from git and here

https://github.com/dequis/purple-facebo ... ng-on-*NIX
http://www.murga-linux.com/puppy/viewtopic.php?t=35507

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#2 Post by Makoto »

Pidgin plugins must be compiled against the Pidgin source. Do you have a compiled version of Pidgin with the source/dev package available/installed? (Preferably the most recent version.)

You can also try contacting the plugin's maintainer directly, or asking on the Support mailing list (Support Info Page)... I'm not sure whether or not it should be asked on the development mailing list, however.
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

#3 Post by noalternative »

Makoto wrote:Pidgin plugins must be compiled against the Pidgin source. Do you have a compiled version of Pidgin with the source/dev package available/installed? (Preferably the most recent version.)

You can also try contacting the plugin's maintainer directly, or asking on the Support mailing list (Support Info Page)... I'm not sure whether or not it should be asked on the development mailing list, however.
This was the most recent pet I could find for buntu puppies, and it works fine for my other messengers, like xmpp & hangouts.

http://www.murga-linux.com/puppy/viewtopic.php?t=64385

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#4 Post by Makoto »

If you're installing from Pidgin packages, the DEV package should be enough for compiling against, I believe. It would still be better to compile against the most recent version of Pidgin, however (so things would be less likely to break).
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

#5 Post by noalternative »

Makoto wrote:If you're installing from Pidgin packages, the DEV package should be enough for compiling against, I believe. It would still be better to compile against the most recent version of Pidgin, however (so things would be less likely to break).
Ok but since I'm a newbie, I need to know what you mean when you say "compile against"

I need instructions.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#6 Post by technosaurus »

before you did your ./configure , did you change into the correct directory?

Where did you get the tarball - the downloads on github require alternative instructions
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

#7 Post by noalternative »

technosaurus wrote:before you did your ./configure , did you change into the correct directory?

Where did you get the tarball - the downloads on github require alternative instructions
I downloaded the directory from github according to the instructions for it at github

https://github.com/dequis/purple-facebo ... ng-on-*NIX

Which I just looked at again and found that I was supposed to ./autogen.sh not ./configure, but before that I downloaded a tgz from the xenial repository.

http://download.opensuse.org/repositori ... ntu_16.04/


I just tried autogen in the git and it produced this error.

root# ./autogen.sh
hg (mercurial) not found in PATH
root#

I need something called mercurial.
purple-facebook_20170330~3cbb433~c9b74a765767~126.tar.gz

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#8 Post by OscarTalks »

Running ./autogen.sh creates the configure script so you can then run ./configure but usually this only applies if downloading the source from the github trunk.

If you grab a release tarball you will usually find that the ./autogen.sh step has been done so you can go straight to ./configure and in this case mercurial is no longer required according to the documentation.
Releases are here, latest 0.9.3 is only a few days old.
https://github.com/dequis/purple-facebook/releases

Isn't mercurial in the devx anyway? If not you should be able to grab it from somewhere. I seem to recall compiling a version of it once some time ago. You need to make sure the other dependencies are satisfied including their DEV components (libjson-glib is one that you might need to grab or build but this is straight-forward).
Oscar in England
Image

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#9 Post by technosaurus »

IIRC pidgin is one of the worst projects to build anyhow. My past experience with building it was so awful I won't even bother to touch it anymore - too much headache for too little gain.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#10 Post by Makoto »

I didn't have too much of a problem compiling Pidgin for Puppy 4 until the more recent versions. It's the plugins that gave me headaches. :lol:
noalternative wrote:Ok but since I'm a newbie, I need to know what you mean when you say "compile against"

I need instructions.
Basically, in this sense, it just means you need to have Pidgin compiled and the development part of the compile (source, headers) installed. (If you're installing Pidgin from precompiled packages, just install the package with "DEV" in the name.) The plugins link to the Pidgin source/headers when compiling, so you're "compiling against" the source/headers.

...of course, technosaurus probably has a MUCH better explanation than me. :mrgreen:
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

noalternative
Posts: 104
Joined: Wed 11 Nov 2009, 03:45
Contact:

#11 Post by noalternative »

I found a version a version of mercurial that works, and installed a dev version of pidgin.

That seemed to clear up alot of things, and autogen and configure commands worked, unfortunately then I got to make. Then I got these errors.

Here is the pastbin of my terminal. I don't understant because if you look at autogen and configure they both clearly found libpurple.

https://pastebin.com/1iXqmwLW
here is the pastbin from config.log
https://pastebin.com/5dJkDkza

any insights?

BTW,I do intend to share this pet when finished.

Also. Would could this be moved to additional software/compiling? I didn't see it tell just a few minutes ago, so I think this is in the wrong subforum.

Post Reply