LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sorry - Another compile question (https://www.linuxquestions.org/questions/linux-newbie-8/sorry-another-compile-question-4175444189/)

cats1 01-04-2013 02:07 PM

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!!

suicidaleggroll 01-04-2013 02:14 PM

Is there a file called "configure" in the directory in which you're running ./configure ?

cats1 01-04-2013 03:48 PM

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.

Hungry ghost 01-04-2013 04:16 PM

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.

cats1 01-04-2013 04:28 PM

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. :(

Hungry ghost 01-04-2013 04:50 PM

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!

suicidaleggroll 01-04-2013 04:51 PM

Quote:

Originally Posted by cats1 (Post 4863136)
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

?

cats1 01-04-2013 05:59 PM

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.

EDDY1 01-04-2013 10:36 PM

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

suicidaleggroll 01-05-2013 09:54 AM

Quote:

Originally Posted by cats1 (Post 4863196)
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).

cats1 01-05-2013 12:15 PM

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

cats1 01-05-2013 03:08 PM

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!

suicidaleggroll 01-05-2013 03:39 PM

You shouldn't be changing directories at all, you need to run make in the same directory in which you ran "./configure"

cats1 01-05-2013 05:10 PM

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

suicidaleggroll 01-05-2013 06:22 PM

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.


All times are GMT -5. The time now is 03:28 PM.