RPM Community Forums

Mailing List Message of <rpm-users>

Re: Can't install RPM because I get an error with system.h

From: <andrejfavia@ml1.net>
Date: Wed 20 Aug 2014 - 15:32:16 CEST
Message-Id: <1408541536.1189395.154798513.2BEFEE3A@webmail.messagingengine.com>

It has now been one month and I have not yet received a response to my
inquiry on why the directions to install rpm don't work.

Can someone help me?

----- Original message -----
From: andrejfavia@ml1.net
To: rpm-users@rpm5.org
Subject: Can't install RPM because I get an error with system.h
Date: Sat, 19 Jul 2014 22:44:48 -0400

I am in the long process of learning how to install software using UNIX
so that I can use a particular program. I am running Mac OS X 10.9.4. I
know almost nothing about UNIX and have just been following directions.

I am in the process of installing the RPM package manager. However, I am
having trouble getting the software to work.

In the installation directions, I am able to get through the
./autogen.sh and ./configure commands fine, with the appropriate flags.
However, when I run "make", I receive the following error messages:

In file included from fts.c:64:0:
../system.h:123:3: error: expected identifier or '(' before '{' token
   { if ((__progname = strrchr(pn, '/')) != NULL) __progname++;    ^
make[2]: *** [fts.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

What's going on?
RPM Package Manager                                    
User Communication List                             rpm-users@rpm5.org
Received on Wed Aug 20 15:37:51 2014
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.