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!! |
Is there a file called "configure" in the directory in which you're running ./configure ?
|
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. |
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.
|
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. :( |
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* 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! |
Quote:
Could you post the output of: Code:
cd |
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. |
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:
|
Quote:
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). |
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 |
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!
|
You shouldn't be changing directories at all, you need to run make in the same directory in which you ran "./configure"
|
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:
|
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. |