LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make install problem (https://www.linuxquestions.org/questions/linux-newbie-8/make-install-problem-284378/)

xpcandrew 01-31-2005 04:18 AM

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 :)

MasterC 01-31-2005 04:21 AM

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

xpcandrew 01-31-2005 04:33 AM

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.

xpcandrew 01-31-2005 04:34 AM

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.

MasterC 01-31-2005 04:35 AM

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

xpcandrew 01-31-2005 04:36 AM

how would i go about fixing

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


thanks

MasterC 01-31-2005 04:43 AM

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

xpcandrew 01-31-2005 12:11 PM

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.

xpcandrew 01-31-2005 12:31 PM

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

:rolleyes:

Tinkster 01-31-2005 02:01 PM

cpan -i XML::Parser


Cheers,
Tink

xpcandrew 01-31-2005 02:06 PM

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?

Tinkster 01-31-2005 02:12 PM

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

Tinkster 01-31-2005 02:16 PM

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


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