LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-04-2013, 02:07 PM   #1
cats1
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Rep: Reputation: Disabled
Sorry - Another compile question


Hi guys,

I'm trying to get gnome-ppp on my system and could definitely use some help.

'home/user/gnome-ppp-0.3.23' is the location of what looks like an unpacked box called gnome-ppp-0.3.23.tar.bz2

-When I click on the box it opens a folder named 'gnome-ppp-0.3.23' --When I open that folder I get several items including a folder that has source code files.

The INSTALL document instructions are to 'cd to directory containing packages source code and type ./configure
make
make install
make clean

So I open a terminal and type 'cd gnome-ppp-0.3.23' and it accepts it, but when I type './configure', it tells me there's no such file or directory.

--I know I'm not getting to the right folder for the configure command to work (I'm pretty sure this links it to the unopened box), but the instructions I've read are normally 'cd package' 'configure'. Any help on finding the right folder is appreciated!!
 
Old 01-04-2013, 02:14 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Is there a file called "configure" in the directory in which you're running ./configure ?
 
Old 01-04-2013, 03:48 PM   #3
cats1
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Using the home file system on the desktop the configure file is in the location bar as being '/gnome-ppp-0.3.23/'

The source code files are in a folder off of that marked src.

When I type 'cd gnome-ppp-0.3.23' it accepts it, but the ./configure command gets me 'no such file or directory'.

When I cd gnome-ppp-0.3.23 and try the list command it comes up with 3 lines and one of them is the tar.bz2 unopened box. --It looks like the file and the unopened tar.bz2 box are using the same address so I deleted the unopened box thinking that would link the command to the remaining folder, but that deleted the package off the system. I put it back on, but I've still got the same problem.
 
Old 01-04-2013, 04:16 PM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Which distro are you using? The program you're trying to compile might be in the repositories of your distro already, so you wouldn't have to bother compiling it.
 
Old 01-04-2013, 04:28 PM   #5
cats1
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Zorin 6.1

It was suppose to be ready out of the box, and I worked with it for quit awhile looking for a program that I could use with dial up. The only thing I could find was a link in the software center where I could download wvdial... course you've got to be online to do that.

Last edited by cats1; 01-04-2013 at 04:29 PM.
 
Old 01-04-2013, 04:50 PM   #6
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Well, since Zorin 6.1 is based on Ubuntu 12.04, I guess it uses the same repository as Ubuntu? You could try downloading gnome-ppp for your architecture from here, saving it in an USB thumb drive and installing it manually with the following command (as root):

Code:
dpkg -i gnome-ppp*
You might have to install the packages marked as dependencies in the link as well, in case the above command asks you for them. (Yep, it's a tedious process downloading and installing these files manually, but once you're online you will be able to use apt-get to install packages automatically).

By the way, which type of modem are you using (brand and model)? Is it an internal dial-up modem? In case it is, hope it's not a winmodem since these can be hard to make work on linux --if they work at all. (Not to discourage you in any way, it's just that I had a bad experience with a winmodem in the past).

Good luck!

Last edited by Hungry ghost; 01-04-2013 at 04:52 PM.
 
Old 01-04-2013, 04:51 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by cats1 View Post
Using the home file system on the desktop the configure file is in the location bar as being '/gnome-ppp-0.3.23/'

The source code files are in a folder off of that marked src.

When I type 'cd gnome-ppp-0.3.23' it accepts it, but the ./configure command gets me 'no such file or directory'.

When I cd gnome-ppp-0.3.23 and try the list command it comes up with 3 lines and one of them is the tar.bz2 unopened box. --It looks like the file and the unopened tar.bz2 box are using the same address so I deleted the unopened box thinking that would link the command to the remaining folder, but that deleted the package off the system. I put it back on, but I've still got the same problem.
I'm not following you...

Could you post the output of:
Code:
cd
ls -l
ls -l gnome-ppp-0.3.23
ls -l gnome-ppp-0.3.23/src
cd gnome-ppp-0.3.23 && ./configure
?
 
Old 01-04-2013, 05:59 PM   #8
cats1
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
droberts@droberts-RX886AA-ABA-a6013w:~$ cd gnome-ppp-0.3.23
droberts@droberts-RX886AA-ABA-a6013w:~/gnome-ppp-0.3.23$ ls -l
total 324
-rw-r--r-- l droberts droberts 330907 May 9 2006 gnome-ppp-0.3.23.tar.bz2
droberts@droberts-RX886AA-ABA-a6013w:~/gnome-ppp-0.3.23$


odiseo77 -- Very good information to have. I'm not sure what I'm trying to install will work with my system, but I gave it my best guess and figured if it didn't I could always get rid of it. -And I'm good with the modem it's a us robotics that I've used with puppy.

suicidaleggroll -- I got the above with the 'ls -l' command. --I guess the problem is that a cd command to gnome-ppp only takes me to a tar ball of 324 files and config won't work even though when you punch on the tar ball the files and folders are there.

--Want to thank you guys for your responses. Five days ago I didn't even know how to open a terminal in zorin much less work with terminal commands.

Last edited by cats1; 01-04-2013 at 09:21 PM.
 
Old 01-04-2013, 10:36 PM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
just use "ls" it will show the extracted files do not include quotes.
Did you extract the files?
cd to where you downloaded then
tar -xvjf <file>
Quote:
cd <file>
./configure
make
make install
make clean

Last edited by EDDY1; 01-04-2013 at 10:37 PM.
 
Old 01-05-2013, 09:54 AM   #10
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by cats1 View Post
droberts@droberts-RX886AA-ABA-a6013w:~$ cd gnome-ppp-0.3.23
droberts@droberts-RX886AA-ABA-a6013w:~/gnome-ppp-0.3.23$ ls -l
total 324
-rw-r--r-- l droberts droberts 330907 May 9 2006 gnome-ppp-0.3.23.tar.bz2
droberts@droberts-RX886AA-ABA-a6013w:~/gnome-ppp-0.3.23$


suicidaleggroll -- I got the above with the 'ls -l' command. --I guess the problem is that a cd command to gnome-ppp only takes me to a tar ball of 324 files and config won't work even though when you punch on the tar ball the files and folders are there.
A tar ball is like a zip file, it's just an archive of other directories/files. When you "open" it in the graphical browser it's just showing you what's inside the tar ball, but you can't actually do anything with those files from the shell since they're still zipped up. The "324" next to total in the ls -l does not mean there are 324 files: http://stackoverflow.com/questions/7...ine-after-ls-l

As far as the shell is concerned, there is one file, the tar ball. It doesn't care that this is actually an archive of other files, all it sees is one file. You need to extract the tar ball before you can do anything with what's inside.

cd gnome-ppp-0.3.23
tar -xjf gnome-ppp-0.3.23.tar.bz2

This will extract the files, probably into a new subdirectory. Use "ls" to see what it's called, cd into it, and then run ./configure in there.

You can't run ./configure unless there's a file called configure in your CWD (current working directory). "./configure" tells the shell to run the executable called "configure" which can be found in the CWD. If you can't see a file called "configure" when you run "ls", then you won't be able to run ./configure, because there's nothing called "configure" for the shell to run. That's why it keeps saying "no such file or directory", you're telling the shell to execute a file that doesn't exist (at least not yet, not until you extract it from that tar ball).

Last edited by suicidaleggroll; 01-05-2013 at 10:00 AM.
 
Old 01-05-2013, 12:15 PM   #11
cats1
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Yes! I got rid of the tar ball and was able to ./configure without error messages. I'm having trouble with make now. I'm really sorry guys but even when I've cd'd to package files it tells me "no target specified no make file found" -- I know there's a make file there, but I also know I didn't specify anything after I typed in 'make'.

There's four folders with gnome and I've cd'd to all of them and tried the command with the same error message. --And just to head off future problems - should I specify certain files or folders with 'make install' and 'make clean'? tia
 
Old 01-05-2013, 03:08 PM   #12
cats1
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
I went back and looked through gnome's files again and my make files are 'makefile.am' and 'makefile.in', but I don't have a straight 'makefile'. Does that mean my files are corrupt and I should start from scratch? --At least that will be a lot easier this time... I've been taking a lot of notes!
 
Old 01-05-2013, 03:39 PM   #13
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
You shouldn't be changing directories at all, you need to run make in the same directory in which you ran "./configure"
 
Old 01-05-2013, 05:10 PM   #14
cats1
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
I thought configure worked, but if it had it would have created makefiles, so I think it's probably a dependency problem. Think I'll take odiseo77's advice and look at ubuntu packages that list out the dependencies. (I'm glad the downloads are so small...) -Want to thank everyone for their help, I'm pretty sure I know how to install packages now, so I just need to download the ones I need. I'm listing the output of the configure command, but think I'll just try to do new downloads.

Quote:
droberts@droberts-RX886AA-ABA-a6013w:~/gnome-ppp-0.3.23$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking for a BSD-compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for perl... /usr/bin/perl

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
 
Old 01-05-2013, 06:22 PM   #15
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Yes, looks like a dependency problem, you need the XML::Parser Perl module before configure will generate the necessary makefile.

Unfortunately you're going to have to go through the same thing working with the dpkg packages until you can get a network connection and let apt-get handle dependencies for you.
 
  


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
compile question rheng Linux - Newbie 10 08-01-2008 02:20 PM
Compile Question. pete1234 Linux - Laptop and Netbook 6 05-19-2005 09:51 AM
Compile question LazySlacker Slackware 3 07-05-2004 04:01 AM
Compile Question steveh350 Slackware 3 08-17-2003 03:14 AM
compile question chens_83 Linux - General 7 02-24-2002 06:53 PM

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

All times are GMT -5. The time now is 08:04 PM.

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