rpm-4.0.3 build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Before everyone loses it, I have a lot of reasons for
sticking with such an old version. I won't go into
them because they only affect me. But I would very
much appreciate any help from those more in the know,
likely increasing along the way my knowledge of NPTL
and new gcc demands on older software. 

Using:
glibc-2.3.6
gcc-4.0.3
binutils-2.16.1
nptl only

rpm-4.0.3 build commands:

./configure --prefix=/usr --sysconfdir=/etc
make
make install

yielding the following error during the db build:

creating libtool
./configure: line 13666: syntax error near unexpected
token `('
./configure: line 13666: `    case `(ac_space=' '; set
| grep ac_space) 2>&1` in

which led me to the following solution:

 changequote(, )dnl
  (set) 2>&1 |
   case `(ac_space=' '; set | grep ac_space) 2>&1` in
   *ac_space=\ *)
     # `set' does not quote correctly, so add quotes
(double-quote substitution
     # turns \\\\ into \\, and sed turns \\ into \).
     sed -n \
       -e "s/'/'\\\\''/g" \
       -e
"s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     ;;
   *)
     # `set' quotes correctly as required by POSIX, so
do not add quotes.
     sed -n -e
's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     ;;
   esac >> confcache
  changequote([, ])dnl
  if cmp -s $cache_file confcache; then
    :

I smell that this will not be the only snag with all
of the changes to the toolchain and nptl. I have also
built with the no-pthreads option and get the same
results.

I remember running into the wrong glibc being detected
a while back, which was fixed by changing 

#if !defined(__LCLINT__) && defined(__GLIBC__) &&
__GLIBC__ == 2 && __GLIBC_MINOR__ == 2

to

#if !defined(__LCLINT__) && defined(__GLIBC__) && \
(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__
>= 2))

in rpmio.h. 

The solution this time will not likely be as simple,
but I really need to get my hooks into what's going on
and understand it. I just don't have the vast
knowledge of how everything is put together here or
how it is crashing the build. Thanks in advance for
any insight. JBJ--ping, ping

Jason
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux