LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-31-2005, 05:18 AM   #1
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Rep: Reputation: 0
make install problem


hello everyone, im new to linux and trying to install GIMP

im using xandros 2.0 that came with a linux user magazine

well i downloaded gimp 2.2.0.tar.gz

i did ./configure and it looks like everything was fine

and i type in make and i get this

andrew@eca:~/gimp-2.2.0$ make
make: *** No targets specified and no makefile found. Stop.

ive also tried "make install" but nothing seems to work, thanks. please help
 
Old 01-31-2005, 05:21 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
That **usually** happens when configure actually doesn't complete without error, and no Makefile is created. It could also happen if the README/INSTALL file(s) said to change to another directory to begin the make process, such as:
cd src/
Might be a portion of the wording.

Cool
 
Old 01-31-2005, 05:33 AM   #3
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Original Poster
Rep: Reputation: 0
checking for XML::Parser... configure: error: XML::Parser perl module is require d for intltool
andrew@eca:~/gimp-2.2.3$ make
make: *** No targets specified and no makefile found. Stop.


does that have anything to do with it? cause that checking for XML is the last line after ./configure, i was checking the INSTALL file, i dont think it said to have a certain directory.
 
Old 01-31-2005, 05:34 AM   #4
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Original Poster
Rep: Reputation: 0
if your able to help, here is the INSTALL file

To compile this package:

1. Configure the package for your system. In the directory that this
file is in, type `./configure'. If you're using `csh' on an old
version of System V, you might need to type `sh configure' instead to
prevent `csh' from trying to execute `configure' itself.

The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation, and
creates the Makefile(s) (one in each subdirectory of the source
directory). In some packages it creates a C header file containing
system-dependent definitions. It also creates a file `config.status'
that you can run in the future to recreate the current configuration.
Running `configure' takes a minute or two.

To compile the package in a different directory from the one
containing the source code, you must use GNU make. `cd' to the
directory where you want the object files and executables to go and
run `configure' with the option `--srcdir=DIR', where DIR is the
directory that contains the source code. Using this option is
actually unnecessary if the source code is in the parent directory of
the one in which you are compiling; `configure' automatically checks
for the source code in `..' if it does not find it in the current
directory.

By default, `make install' will install the package's files in
/usr/local/bin, /usr/local/lib, /usr/local/man, etc. You can specify
an installation prefix other than /usr/local by giving `configure' the
option `--prefix=PATH'.

You can specify separate installation prefixes for machine-specific
files and machine-independent files. If you give `configure' the
option `--exec-prefix=PATH', the package will use PATH as the prefix
for installing programs and libraries. Normally, all files are
installed using the same prefix.

`configure' ignores any other arguments that you give it.

If your system requires unusual options for compilation or linking
that `configure' doesn't know about, you can give `configure' initial
values for some variables by setting them in the environment. In
Bourne-compatible shells, you can do that on the command line like
this:
CC='gcc -traditional' DEFS=-D_POSIX_SOURCE ./configure

The `make' variables that you might want to override with environment
variables when running `configure' are:

(For these variables, any value given in the environment overrides the
value that `configure' would choose
CC C compiler program.
Default is `cc', or `gcc' if `gcc' is in your PATH.
INSTALL Program to use to install files.
Default is `install' if you have it, `cp' otherwise.
INCLUDEDIR Directory for `configure' to search for include files.
Default is /usr/include.

(For these variables, any value given in the environment is added to
the value that `configure' chooses
DEFS Configuration options, in the form '-Dfoo -Dbar ...'
LIBS Libraries to link with, in the form '-lfoo -lbar ...'

If you need to do unusual things to compile the package, we encourage
you to teach `configure' how to do them and mail the diffs to the
address given in the README so we can include them in the next
release.

2. Type `make' to compile the package.

3. Type `make install' to install programs, data files, and
documentation.

4. You can remove the program binaries and object files from the
source directory by typing `make clean'. To also remove the
Makefile(s), the header file containing system-dependent definitions
(if the package uses one), and `config.status' (all the files that
`configure' created), type `make distclean'.

The file `configure.in' is used as a template to create `configure' by
a program called `autoconf'. You will only need it if you want to
regenerate `configure' using a newer version of `autoconf'.



thanks.
 
Old 01-31-2005, 05:35 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
configure: error: XML::Parser perl module is require d for intltool

Yeah, that's an error in the configure process

You'll have to satisfy that as well as any other errors afterwards before the configure script will give you a Makefile to 'make'.

Cool
 
Old 01-31-2005, 05:36 AM   #6
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Original Poster
Rep: Reputation: 0
how would i go about fixing

configure: error: XML::Parser perl module is require d for intltool


thanks
 
Old 01-31-2005, 05:43 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
One of the things Xandros is really nice with (according to user reviews) is installing new packages. You may be doing more work here than you need to. I'm not too familiar with the process/distro myself, but you may be able to get this installed by throwing a few fancy commands at it, such as apt-get. Check the documentation for the distro to see what it says about package management.

If you want to continue and go ahead with the source install of the GIMP (this will actually likely be more involved than you first thought, you may need gtk-2.x amongst other large packages) then continue reading.

Perl Modules are very easy to install using the MCPAN shell. You can check the perl man page or try the following (been a while, could be off by a few keys):
perl -MCPAN -e shell

If my senility hasn't kicked in too bad, and that works, then you'll be in a perl shell. You can poke around in there, it's quite the shell (reminds me of Gentoo in a way).

Anyway, onto installing:
At the prompt type:
install XML::Parser

And cross your fingers. If it errors quickly, fix the typos it notes that I've done, and continue. It may error later on, in which case, you are kind of 'screwed' per se into having to install things manually to overcome the error (whatever package it ends up on).

Good luck!

Cool
 
Old 01-31-2005, 01:11 PM   #8
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Original Poster
Rep: Reputation: 0
ok i think the cpan thing worked cause it gave me a console line saying

CPAN>

than i typed in install XML::Parser

and i dont think that worked, thanks.
 
Old 01-31-2005, 01:31 PM   #9
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Original Poster
Rep: Reputation: 0
XML::Parser error

im trying to install gimp

so when i go into the folder and type "./configure"

everything goes fine except 1 error

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool


so im guessing it doesnt make the makefiles, cause i cant type make, how do i fix this, thanks

im using xandros 2.0

 
Old 01-31-2005, 03:01 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
cpan -i XML::Parser


Cheers,
Tink
 
Old 01-31-2005, 03:06 PM   #11
xpcandrew
LQ Newbie
 
Registered: Jan 2005
Distribution: xandros
Posts: 14

Original Poster
Rep: Reputation: 0
thanks man, here is what i got




andrew@eca:~$ cpan -i XML::Parser
CPAN: Storable loaded ok
Going to read y/Metadata
Database was generated on Sun, 30 Jan 2005 10:38:10 GMT
Warning: Cannot install -i, don't know what it is.
Try the command

i /-i/

to find objects with matching identifiers.
Running install for module XML::Parser
Running make for M/MS/MSERGEANT/XML-Parser-2.34.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for y/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz ok
Scanning cache y/build for sizes
gzip: y/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz: No such file or directory
gzip: y/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz: No such file or directory
/bin/tar: y/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz: Cannot open: No such file or directory
/bin/tar: Error is not recoverable: exiting now
Using Tar:/bin/tar xvf y/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz:
/bin/tar: y/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz: Cannot open: No such file or directory
/bin/tar: Error is not recoverable: exiting now
Couldn't untar y/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz





did it work properly?
 
Old 01-31-2005, 03:12 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
There's quite obviously a problem ... I'd suggest asking
about perl and cpan on the xandros forums, or do a
search there ...


Cheers,
Tink
 
Old 01-31-2005, 03:16 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
I also merged the two dupes in newbie... please consider this
note a WARNING about not posting multiple threads on the same
topic.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kismet problem on make install, any one please help, Donic Linux - Wireless Networking 3 11-03-2005 06:15 PM
make install problem dtcs Linux - Software 1 10-15-2005 01:52 PM
make install problem with ndiswrapper 9569 Linux - Wireless Networking 2 12-04-2004 10:44 PM
Problem with Configure, Make, Make Install n8tgc Linux - Newbie 2 07-13-2004 04:16 PM
Nvidia make install Problem SML Linux - Newbie 2 03-23-2004 02:43 AM

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

All times are GMT -5. The time now is 07:43 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