Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 01:38
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Error attempting "configure" in 1.0.5: no "bc
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
marquitico

Joined: 26 Jul 2005
Posts: 25
Location: New York, NY

PostPosted: Sat 20 Aug 2005, 02:53    Post_subject:  Error attempting "configure" in 1.0.5: no "bc  

Disclaimer: I am SOOO in over my head.

Trying out Puppy 1.0.5 in order to do the typical:

./configure
make
make install

frankly because I've never done it before. The package I tried was xscreensaver, which I downloaded from here:

http://www.jwz.org/xscreensaver/xscreensaver-4.22.tar.gz

Running configure produced this rather snarky error message:

Quote:
Your system doesn't have "bc", which has been a standard part of Unix since the 1970s. Come back when your vendor has grown a clue.


I'm not a coder (can barely write the famous Hello.c Embarassed), so can't really talk tech with you guys. I just know that 1.0.5 is still in alpha, so maybe this error message will be helpful for development. If not, moderator, please close thread.

If this IS meaningful to anyone, I can send the configure and the config.log upon request. Happy to test any suggested solutions.

Regards,

Mark
"marquitico"

PS Puppy 1.0.4 with bladehunter's opttools.sfs loopmounted produced the same error.
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 20 Aug 2005, 03:07    Post_subject:  

I say - well done.

The Alpha2 of the compiler 1.0.5 is set for release on Tuesday 23 Aug 2005 - that might inspire a few more new 'av a go types . . .

Some of us try to offer advice - we do the best we can. Some try to program - we try the best we know how. Some more than others. Some experts. Some offer encouragement and analysis - the best we can. I tried to compile (make) one simple program with the Alpha developers release. I did that. Then I looked for more complex source code and it looked a bit more challenging and time consuming. Being able to compile the source code is a useful skill . . .
. . . maybe I will have another go soon . . .

Impress your friends (assuming you have any - are geeks allowed to have friends?). . . compile some source code now . . .

Smile

_________________
Puppy WIKI

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Guest
Guest


PostPosted: Sat 20 Aug 2005, 06:18    Post_subject:  

there is a bc dotpup
Back to top
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 20 Aug 2005, 06:21    Post_subject:  

Quote:
Your system doesn't have "bc", which has been a standard part of Unix since the 1970s. Come back when your vendor has grown a clue.


I would like to give the developer of xscreensaver a kick up the asse for that rude message!
bc is a commandline calculator. My install of Mandrake 9.2 does NOT have bc either, Vector does.
Inclusion of bc is not a "standard part of Linux".
Back to top
View user's profile Send_private_message Visit_website 
marquitico

Joined: 26 Jul 2005
Posts: 25
Location: New York, NY

PostPosted: Sat 20 Aug 2005, 22:14    Post_subject:  

Guest wrote:
there is a bc dotpup


Ooooh. (marquitico goes running to the download page.) Will post results back here. Thanx much!

Mark
"marquitico"
Back to top
View user's profile Send_private_message 
marquitico

Joined: 26 Jul 2005
Posts: 25
Location: New York, NY

PostPosted: Wed 24 Aug 2005, 21:28    Post_subject: Still stuck, but quite a bit further along  

OK, here's where I stand in my bold experiment to compile from source:

Got the bcdc DotPUP.

./configure still didn't work. After much poking round, found that I needed libreadline.so.4 to feed stuff to bc.

Grabbed readline-4.3-i486-3.tgz from Slackware 10.1.

./configure now complaining about missing X11 headers/libs.

Grabbed x11-devel-6.8.1-i486-3.tgz from Slackware 10.1

./configure finally completes!!! But now I get this:

Quote:
#################################################################

Warning: The "pkg-config" program was not found. Without that,
detection of the various GTK libraries won't work.

Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.

Warning: The GDK-Pixbuf library was not found.
The XPM library is being used instead.

Some of the demos will not use images as much as they could.
You should consider installing GDK-Pixbuf and re-running
configure. (GDK-Pixbuf is recommended over XPM, as it
provides support for more image formats.)

Note: The JPEG library was not found.
This means that it won't be possible for the image-manipulating
display modes to load files from disk; and it also means that
the `webcollage' program will be much slower.

#################################################################

User programs will be installed in /usr/local/bin/
Screen savers will be installed in /usr/local/libexec/xscreensaver/
Configuration will be installed in /usr/local/share/xscreensaver/config/


Found pkg-config somewhere (can't remember). Installed just fine.

Grabbed libjpeg-6b-i386-4.tgz and gdk-pixbuf-0.22.0-i486-1.tgz.gz from Slackware 10.1 (becoming my second-favorite download area after PUPGets and DotPUPs). These did NOT help, however, and my current error is the same as the above, but without the pkg-config issue.

Out of ideas.

I reiterate my disclaimer: I am in over my head. I'm just GOOGLE-ing aggressively in a quest for information about the various error messages, and downloading anything with a filename similar to the name of the dependency that I seem to be missing. I hit paydirt with the bcdc, readline, x11, and the pkg-config thingy.

What I'm left missing are: GTK libs, GDK-pixbuf libs, and JPEG libs. Since I don't know what these actually ARE, just downloading packages with similar names does not seem to do it.


In the meanwhile I will:

1) Run make, since the configure script actually finished. I might end up with a usable, albeit crippled, binary.

2) Download Alpha2 immediately. Puppy is great.

To whomever any of this is meaningful: PLEEZE post thoughts, observations, advice. Am not abosolutely determined to get this right, mind; just using this as a learning example. My thanks in advance.

Mark
"marquitico"
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 24 Aug 2005, 21:37    Post_subject:  

have a look here:

http://gtk.org/

I had to compile Gtk 2.6.1 on my Linux-mandrake 9.2 some months ago, and it took quite a while until I got it.

http://gtk.org/download/
explains what libraries (dependancies) you need, and which ones have to be compiled first.

hope that helps, Mark Wink
Back to top
View user's profile Send_private_message Visit_website 
marquitico

Joined: 26 Jul 2005
Posts: 25
Location: New York, NY

PostPosted: Fri 26 Aug 2005, 02:14    Post_subject: Still don't get it, sigh  

Thank you, MU. I had a good look round the GTK website, but it was so technical that I didn't understand too much, I'm afraid. Sad

I downloaded everything I could get my hands on, and tried to install it all, but the configure program still cannot find (or thinks that it cannot find) what it's looking for.

I'm stuck at without the following:

Code:
Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.

Warning: The GDK-Pixbuf library was not found.
The XPM library is being used instead.

Some of the demos will not use images as much as they could.
You should consider installing GDK-Pixbuf and re-running
configure. (GDK-Pixbuf is recommended over XPM, as it
provides support for more image formats.)

Note: The JPEG library was not found.


I found a GTK+-devel package someplace else (cygwin, I think) and tried that too, but configure is still unhappy.

Of course, the source package might be buggy, but I do not have the knowledge or the expertise to debug.

Anyone know where I should look? Or can anyone tell me definitively that it will not work (I remember seeing a topic discussing GTK compatibility with Puppy, but cannot find it again).

Thanks,

Mark
"marquitico"
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 26 Aug 2005, 03:23    Post_subject:  

Hi Mark,

just forget about cygwin Wink

That is a specially patched version to compile on Windows.

The packages from Gtk.org just should do it.

First you must compile pkgconfig , GLib, Pango, and ATK, and maybe more.

Do *not* mix packages from different places, this just will produce version-conflicts.

When you get errors, the only important thing is the first error you get.
There is no sense to compile Gtk (and search errors there), when Glib did not compile without errors, as Gtk needs the things you compiled with glib.


Another thing:
You can ignore warnings, as they just indicate optional things.
The only important in the beginning are the error-messages.

Just when everything compiles without errors, you might care about the warnings.


Mark
Back to top
View user's profile Send_private_message Visit_website 
marquitico

Joined: 26 Jul 2005
Posts: 25
Location: New York, NY

PostPosted: Fri 26 Aug 2005, 03:55    Post_subject: Wow, thanks, MU  

Thank you for the quick reply. After looking at the GTK download pages, I believe it makes sense to start with the dependencies. I already have pkg-config, anyway. So I will get JPEG, TIFF, et cetera.

May I ask you for more advice: on the main download page there are many packages with similar names. Do I need them all? For example:

glib-2.8.1.tar.bz2
glib-2.8.1.tar.gz

Is that the same thing in two different kinds of tarballs? Or do I actually need them both?

Thank you again.

Mark
"marquitico"
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 26 Aug 2005, 04:00    Post_subject:  

No, you need just one of them.

tar.gz is older and the standard-packager.
tar.bz2 is newer and compresses slightly better, so the archives are smaller.

The content in them is the same.

Yes, start with the dependencies, it is absolutely necessary to compile them first.

if you get stuck, ask again, the best will be to write down the first errors here.
You do not need to write down all errors, as the later ones usually will disappear when the first ones are corrected.

I'm going asleep soon, so it might take some hours until I can answer.

Good luck Smile

Mark
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 26 Aug 2005, 04:05    Post_subject:  

another tip:

it might be a good idea to use Gtk 2.6 , not 2.8.

2.8 is very new and needs the additional Library "Cairo".
2.6 will not need it.

Cairo and Gtk 2.8 is just needed if you need Gtk to compile the Betaversions of the current Gnome-Desktop.

Mark
Back to top
View user's profile Send_private_message Visit_website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Fri 26 Aug 2005, 04:33    Post_subject:  

Er, you are using usr_devx.sfs aren't you?
Back to top
View user's profile Send_private_message Visit_website 
marquitico

Joined: 26 Jul 2005
Posts: 25
Location: New York, NY

PostPosted: Fri 26 Aug 2005, 13:45    Post_subject: usr_devx.sfs  

I'm actually doing everything twice, just for kicks.

Once with Puppy 1.0.5 Alpha with usr_devx.sfs, and again with Chubby 1.0.4 and bladehunter's opttools.sfs. So far as I can see, I am getting identical results, the same errors. (To check internal differences, of course, someone would have to tell me where to look.)

I have not yet had a bash at Alpha2, as it's hard to download. Seems to be quite popular!! Will wait a few days until the weekend and can pester a friend who has DSL.

By the bye, popular Puppy, indeed. I've converted two friends: a father who wordprocesses a lot for work but is hampered by a teeny-tiny laptop was so amazed by Chubby Puppy 1.0.4 that he actually wept; and his son, who is just starting to code a little bit in computer science class in school, who is using 1.0.5 Alpha.

Talk about taking the symbolism just a wee bit far: said son (previous paragraph) commented, "Wow. Puppy might be a great way to meet chicks!"

And here we all thought that Puppy couldn't, uh, compile. Twisted Evil

Mark
"marquitico"
Back to top
View user's profile Send_private_message 
Ted 'Dog faced' geek
Guest


PostPosted: Fri 26 Aug 2005, 17:37    Post_subject: compiling and social linux  

I now now longer care to hear the results of your quest for compile. The noble goal and clear alpha geek quest to a clean compile was overshadowed by the thought any linux distro would be used to 'get chicks!!' I really need to hear if he was anywhere able to pull of a linux chick magnet quest. Maybe he really should write for slashdot. Just think of the massive downloads of puppy linux as a result.
Ted Razz
Back to top
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0975s ][ Queries: 11 (0.0034s) ][ GZIP on ]