LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2008, 02:24 PM   #1
irishace
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
Unhappy Is it possible to install a program on Linux - without pulling all my hair out?


OK, I'm a fairly patient person and love to learn new things... like linux. However, I've been trying to install AnyMeal 0.30 for hours now and am completely frustrated after searching Google for answers.

- The program downloaded as a .tar.bz2 file.
- I put the file in the proper folder.
- I unzipped the file
- I read the INSTALL instructions
- I successfully got past the ./configure command

and now I get:
make: *** No targets specified and no makefile found. Stop.

This is my terminal screen:

barbara@user-desktop:~/Cooking/anymeal-0.30$ sudo ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
barbara@user-desktop:~/Cooking/anymeal-0.30$ make
make: *** No targets specified and no makefile found. Stop.


What am I doing wrong?

Isn't there a way to install programs in Linux without command line prompts?!?

Thanks in advance for your help!
 
Old 11-08-2008, 02:30 PM   #2
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 615

Rep: Reputation: 98
Maybe you don't need to compile. What distro of Linux are you using . How about just getting a .deb or .rpm?

In e.g.Ubuntu it is available from repository and can be installed by connection to the internet, opening a Terminal and inputting: sudo apt-get install anymeal

Last edited by arochester; 11-08-2008 at 02:33 PM.
 
Old 11-08-2008, 02:32 PM   #3
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
The problem is that you don't have a compiler on your system. By downloading the .tar.bz2, you downloaded the code for the program, that you have to compile. The easier way to do it is to use your local package manager. What distribution are you using? If it's Debian or Ubuntu, try
Code:
sudo apt-get install anymeal
.
 
Old 11-08-2008, 02:34 PM   #4
irishace
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I'm using ubuntu 8.04.

How does a .deb or .rpm file work?

(BTW- Thanks for the quick reply)
 
Old 11-08-2008, 02:43 PM   #5
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Ubuntu uses .debs, other distros use rpm's - so it's usually one or the other but not both. These are pre-compiled programs (somebody else already did the work of compiling it) and you can install them with a single command.

You either open up a terminal and type the apt-get command I just gave. Maybe an easier way would be to can go into your menus and look for something called 'Synaptic' (probably under 'System' or something) and search for 'anymeal'. Then check it to install and hit apply. That'll install it for you.
 
Old 11-08-2008, 02:57 PM   #6
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Before you install software from source, check if it's available from ubuntu's repository.

If it's not available and installing from source is your last option, then install the build-essential package. This will include the tools needed to compile programs.

- Cheers
 
Old 11-08-2008, 03:56 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I would rather advice you to use a valid package for your distro when possible, just like people said above. But if you absolutely need to compile it, then read below.

Quote:
Originally Posted by irishace View Post
- The program downloaded as a .tar.bz2 file.
- I put the file in the proper folder.
- I unzipped the file
- I read the INSTALL instructions
All good.

Quote:
- I successfully got past the ./configure command
Obviously no, you didn't.

Quote:
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
barbara@user-desktop:~/Cooking/anymeal-0.30$ make
make: *** No targets specified and no makefile found. Stop.
Quote:
Isn't there a way to install programs in Linux without command line prompts?!?
Most package managers do have graphical frontends, like synaptic, yast and many others. It depends on your distro and base package manager. So, try to use a proper package. If you can't find a working one and you really need to compile it from source, ask again here, and provide the config.log file from your ./configure step. And we can start diagnosing what the problem with your compiler is.
 
Old 11-08-2008, 08:41 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I run Hardy and just checked synaptic and anymeal 0.30-5 is there. You could do it there or with apt-get. I like to look things up in synaptic and then use apt-get. It seems to do better with my dial up connection.

I had never heard of this one, I think my wife might like it.
 
Old 11-08-2008, 09:39 PM   #9
irishace
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks all for the replies. PatrickNew had the solution to what had already been loaded, and dv502 gave me more to think about... in fact, I found the EASIEST way was to click on:

Applications -> Add/Remove, and then find the software.

It installed automatically.

However, the program is not working correctly and continues to give me the same error, "Error connection to socket..." If anyone has this program loading and in use, maybe you could help me trouble shot this. Otherwise it's headed for the recycle bin.
 
Old 11-08-2008, 11:34 PM   #10
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Are you using Ubuntu or Kubuntu?
 
Old 11-09-2008, 12:36 AM   #11
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Quote:
Originally Posted by irishace View Post
However, the program is not working correctly and continues to give me the same error, "Error connection to socket..." If anyone has this program loading and in use, maybe you could help me trouble shot this. Otherwise it's headed for the recycle bin.


It appears anymeal is looking for a mysql database to connect to. You need to install mysql and load the deamon. Once you done that, anymeal
will use mysql to load or create its database.

I've never use anymeal, but the clue socket you mention in the error, told me this program requires a deamon program to load before hand.

The websites I visited don't mention how to use anymeal with mysql, all they say is to install mysql, then anymeal takes over from there.

Visit ubuntu website and look for info on setting up mysql server
https://help.ubuntu.com/8.04/serverg...databases.html

The instruction is for ubuntu 8.04. The steps are usually the same for all *buntu's. To be sure, visit the website of the buntu you're using and search for their online documentation.

PS: Before you do anything, read the man pages for anymeal. The man pages can give additional info on usage and other prerequisites prior to using the program.

I hope this helps.

Last edited by dv502; 11-09-2008 at 01:33 AM.
 
Old 10-02-2010, 03:58 PM   #12
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
I had the same problem. I finally did get anymeal going in Debian, though. When opening it, instead of using "embedded" as the choice under server, instead pick "network" with "localhost" as the network selected. You will also need the package mysql-server to be installed for this to work (so, "sudo apt-get install mysql-server" on the command line) For some reason, on Debian and Ubuntu, the embedded socket option doesn't work.
 
Old 10-02-2010, 04:19 PM   #13
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Anymeal is in the Ubuntu repos just make sure you have all the necessary packages installed to run it.

You can check the depends:
http://packages.ubuntu.com/lucid/anymeal

Also you should get familiar with the tools in the distro you are using.

InstallingSoftware - Community Ubuntu Documentation
https://help.ubuntu.com/community/InstallingSoftware

Synaptic Package Manager - Community Ubuntu Documentation
https://help.ubuntu.com/community/SynapticHowto

aptitude user's manual
http://algebraicthunk.net/~dburrows/...titude/doc/en/

Last edited by craigevil; 10-02-2010 at 04:22 PM.
 
Old 10-02-2010, 05:00 PM   #14
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by craigevil View Post
Anymeal is in the Ubuntu repos just make sure you have all the necessary packages installed to run it.

You can check the depends:
http://packages.ubuntu.com/lucid/anymeal

Also you should get familiar with the tools in the distro you are using.
She already installed it via Ubuntu's "Applications -> Add/Remove, and then find the software" procedure, which I'm sure installed all the prescribed depends of the program. The issue is that it does not work with the embedded option. This site here speaks of it:
Quote:
Originally Posted by Ubuntuland Forever Blog
Starting with AnyMeal-0.28 you now have the choice between using an Embedded MySQL server (does not work on recent versions of Ubuntu!) or using a system-wide MySQL server which you may have to set up yourself (Ubuntu automatically sets up the MySQL server for you).
This is the case too with version 0.3. She needs to install the Ubuntu package mysql-server (and possibly set this up with a user and password, unless Ubuntu does this automatically) and then use the network option on localhost (assuming she's running this from one machine).

Anymeal is a great program once you get it going.

Last edited by mark_alfred; 10-02-2010 at 05:06 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Linux user, pulling hair out with Nvidia drivers ellandry SUSE / openSUSE 10 02-26-2005 06:49 AM
I'm pulling my hair out here.. Emanon247 Linux - Newbie 3 07-20-2004 01:17 PM
Star office install on Slack 9. Pulling hair out! drjimstuckinwin Slackware 2 03-27-2003 03:30 PM
Pulling out hair again... Ludacris Linux - Networking 8 12-22-2002 01:21 AM
URghh!!! pulling out hair! Ùmegaflops Linux - Newbie 4 05-28-2002 04:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration