04-14-2008
make[2]: *** [xml] Error 1
Hi,
I am trying to build an rpm on redhat machine.
OS:Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
after building when I try to install,after doing the 'configure' command,
when I run 'make',, its giving the following error.
[root@vrdevcti001 xmlstarlet-1.0.1]# make
make all-recursive
make[1]: Entering directory `/usr/src/redhat/BUILD/xmlstarlet-1.0.1'
Making all in src
make[2]: Entering directory `/usr/src/redhat/BUILD/xmlstarlet-1.0.1/src'
gcc -Wall -g -pedantic -o xml xml.o xml_edit.o xml_ls.o xml_escape.o xml_pyx.o xml_depyx.o xml_select.o xml_trans.o xml_validate.o xml_format.o xml
_elem.o xml_C14N.o trans.o binsert.o stack.o strdup.o /usr/lib/libxslt.a /usr/lib/libexslt.a -lz -lm -lpthread /usr/lib/libxml2.a -lz -lm -lpthread -l
dl -L/usr/lib
gcc: /usr/lib/libxslt.a: No such file or directory
gcc: /usr/lib/libexslt.a: No such file or directory
gcc: /usr/lib/libxml2.a: No such file or directory
make[2]: *** [xml] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/xmlstarlet-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/xmlstarlet-1.0.1'
make: *** [all-recursive-am] Error 2
All the libxslt rpms are already installed.I think it need the file /usr/lib/libxslt.a and,, others...
How to get those files in the respective location?
Please revert to this post asap.. Thanks in advance.
10 More Discussions You Might Find Interesting
1. Programming
Hi ,
I get the following error when i run the make command.
cc -Aa -DUNIX -osrcmpmn srcmpmn.c
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000014
*** Error exit code 14
here the file is C program which has been modified.
Please help. (1 Reply)
Discussion started by: shashidhara_01
1 Replies
2. Programming
The problem is that the original program was compiled using v5.0 MQ client but now we are using MQ client v5.3. Had modified the "make file" options as follows but still i could see the errors.
#CLIENT_V5_LIBS = -limqb23ss -limqc23ss -lmqic -lmqmcs -lnsl -ldl
CLIENT_V5.3_LIBS =... (1 Reply)
Discussion started by: hram
1 Replies
3. Linux
Hi,
Recently I install a package and try to do a make and make install.
However, in the make it gives me below error:-
make:Nothing to be done for 'install-exec-am'
make:Nothing to be done for 'install-data-am'
Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies
4. Solaris
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
# pwd
/gani/gani-2.4.4
# ls
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies
5. Programming
Hello,
Is someone know why this generate an error :
all:
dt = $(shell date)
echo "$(dt)" (5 Replies)
Discussion started by: X-Or
5 Replies
6. Programming
Hi All,
I am using GNU Make and i have a peculiar kind of error, i am not able to understand, Firstly have a look at the make file used by me
CFLAGS=-c -Wall
CC=gcc
.PHONY:clean
OBJ=./obj
SRC=./src
INC=./inc
exec: $(OBJ)/*.o
$(CC) $^ -o $@
%.o: $(SRC)/*.c
$(CC) $(CFLAGS)... (1 Reply)
Discussion started by: niranjanvg
1 Replies
7. Shell Programming and Scripting
I am new to using make command and I keep getting this error time and again
please help me
Make file is as follows
#ARCH := $(shell uname)#
# ifeq ($(ARCH), SunOS)
DEFINES = -KPIC -DSVR4 -DSOLARIS -DSYSV -D__svr4 -D__svr4__\ -D_REENTRANT -DSOLARIS2_5 -D_SVID_GETTOD -DXP_UNIX -UDEBUG... (1 Reply)
Discussion started by: c.operatingsys
1 Replies
8. Linux
hello,
i want to execute hello world using cross compiler ppc_4xx-gcc. i have this makefile:
CC= $(shell which ppc_4xx-gcc)
#CC=g++
CXXFLAGS=-cpp -Wall
LDFLAGS=
SOURCES=main.cpp hello.h
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=hello
all: $(SOURCES)... (5 Replies)
Discussion started by: walidaydi
5 Replies
9. UNIX Desktop Questions & Answers
I would like to install gtkmm-2.0.1 on solaris 10 platform.
To install, I have a dependency libsigc++1.2 successfully install.
I can type ./configure without any error.
But when I typed make I got the following error.
I am newbie who cannot understand the error.
Have no idea how to solve... (0 Replies)
Discussion started by: nirin
0 Replies
10. UNIX for Dummies Questions & Answers
......... (1 Reply)
Discussion started by: larry burns
1 Replies
LEARN ABOUT REDHAT
rpmcache
RPMCACHE(8) Red Hat Linux RPMCACHE(8)
NAME
rpmcache - Cache RPM Package Headers
SYNOPSIS
rpmcache [ PACKAGE_NAME ... ]
DESCRIPTION
rpmcache walks a file tree, possibly remotely using FTP, filtering paths using glob(7) expressions, reading rpm package headers. The latest
(i.e. comparing package epoch/version/release for identical package names and using the build time as a tie breaker) package headers, if
they are unique, are cached in an rpm database. The rpm database cache can be used to provide suggested paths to packages that resolve
unknown dependencies.
There are no rpmcache specific options, only common rpm options. See the rpmcache usage message for what is currently implemented.
The file tree path to be searched is configured using rpm macros. The final path is the concatentaion of 5 individual elements. Here are
the macro names used to configure rpmcache, in the same order that they will be concatenated to build the file tree path that will be
walked:
%_bhpath
The "path" level contains the leading part of the file tree path (or URL) for the file tree to be walked. No glob(7) expressions,
here, please.
%_bhcoll
The "collection" level contains a string (or glob(7) expression) to match sub-directories of %_bhpath.
%_bhN The "name" level contains a string (or glob(7) expression) to match sub-directories of %_bhcoll. The PACKAGE_NAME arguments are
used to construct a glob(7) expression that will match any of specific package names within the Red Hat build system, and are almost
certainly not of use to anyone outside of Red Hat.
%_bhVR The "version-release" level contains a string (or glob(7) expression) to match sub-directories of %_bhN.
%_bhA The "arch" level contains a string (or glob(7) expression) to match sub-directories of %_bhVR.
The location of the cache database is also configured using an rpm macro:
%_cache_dbpath
The location of the cache database. The default value is /var/spool/up2date/cache.
The cache database is identical in format to an rpm database, and can be used with rpm from the command line. For example, to use the cache
database to provide suggestions for packages that provide dependencies needed by a package install, the following macro should be config-
ured in either /etc/rpm/macros or ~/.rpmmacros:
%_solve_dbpath
The location of the database that is used to provide suggested dependency resolutions.
Example (minimal) configuration for a Red Hat beehive tree:
%_cache_dbpath /var/spool/up2date/cache
%_solve_dbpath %{_cache_dbpath}
%_bhpath file://localhost/mnt/redhat/beehive/comps/dist
%_bhcoll 7.3
%_bhN @(basesystem|bash|filesystem|glibc-common|glibc|ldconfig|libtermcap|mktemp|setup|termcap)
%_bhVR *
%_bhA @(i[3456]86|noarch)
Example (minimal) configuration for a Red Hat FTP tree:
%_cache_dbpath /var/spool/up2date/cache
%_solve_dbpath %{_cache_dbpath}
%_bhpath ftp://localhost/mnt/dist
%_bhcoll @(7.3|7.2|7.1|7.0|6.2|6.1|6.0|5.2|5.1|5.0)
%_bhN @(%{_arch})
%_bhVR *
%_bhA @(i[3456]86|noarch)
BUGS
Yup. Please file bug reports and RFE's against the rpm-devel package using bugzilla: http://bugzilla.redhat.com/ <URL:http://bugzilla.red-
hat.com/>
SEE ALSO
rpm(8), glob(7),
http://www.rpm.org/ <URL:http://www.rpm.org/>
AUTHORS
Jeff Johnson <jbj@redhat.com>
Red Hat, Inc. 05 July 2002 RPMCACHE(8)