Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure file in gperftools 2.1 #643

Closed
alk opened this issue Aug 23, 2015 · 9 comments
Closed

configure file in gperftools 2.1 #643

alk opened this issue Aug 23, 2015 · 9 comments

Comments

@alk
Copy link
Contributor

alk commented Aug 23, 2015

Originally reported on Google Code with ID 640

rpm build
...
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/gg/src/rpm/BUILD/gperftools-2.1/missing
aclocal-1.13 -I m4
/home/gg/src/rpm/BUILD/gperftools-2.1/missing: line 81: aclocal-1.13: command not found
WARNING: 'aclocal-1.13' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:3151: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
error: Bad exit status from /home/gg/src/tmp/rpm-tmp.w09C1U (%build)


gperftools 2.1
PCLinuxOS 32bit 
automake 1.14


autoreconf solved problem: 

%build
autoreconf -ivf
%configure \

But I wish this working for every automake, 
or warning about automake version is needed.



Reported by swojskichlopak@wp.pl on 2014-08-15 21:27:59

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

It shouldn't autoreconf in first place. Have you unpacked .tar.gz directly or maybe
did something else ?

Also 2.2 should not have this problem because it has disabled maintainer mode by default.

Reported by alkondratenko on 2014-08-15 21:52:19

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

$ rpm --eval %configure



  CFLAGS="${CFLAGS:--O2  -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables}" ; export
CFLAGS ; 
  CXXFLAGS="${CXXFLAGS:--O2  -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables}"
; export CXXFLAGS ; 
  FFLAGS="${FFLAGS:--O2  -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables}" ; export
FFLAGS ; 
  LDFLAGS="$LDFLAGS -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id";
export LDFLAGS ; 
  CONFIGURE_TOP="${CONFIGURE_TOP:-.}"; 
  /usr/lib/rpm/rambo/force-as-needed-for-shared-lib-in-libtool ; 
  /usr/lib/rpm/rambo/drop-ld-no-undefined-for-shared-lib-modules-in-libtool ; 
  /usr/lib/rpm/rambo/fix-libtool-ltmain-from-overlinking ; 
  /usr/lib/rpm/rambo/fix-libtool-from-moving-options-after-libs $CONFIGURE_TOP ; 
  /usr/lib/rpm/rambo/fix-dlsearch-path-in-libtool-for-multilib $CONFIGURE_TOP lib ;

  (cd $CONFIGURE_TOP; [ ! -f configure.in -a ! -f configure.ac ] || libtoolize --copy
--force); 
  [ -f $CONFIGURE_TOP/configure.in -o -f $CONFIGURE_TOP/configure.ac ] && 
  CONFIGURE_XPATH="--x-includes=/usr/include --x-libraries=/usr/lib" 
  $CONFIGURE_TOP/configure i586-mandriva-linux-gnu \
    --program-prefix= \
    --prefix=/usr \
    --exec-prefix=/usr \
    --bindir=/usr/bin \
    --sbindir=/usr/sbin \
    --sysconfdir=/etc \
    --datadir=/usr/share \
    --includedir=/usr/include \
    --libdir=/usr/lib \
    --libexecdir=/usr/lib \
    --localstatedir=/var \
    --sharedstatedir=/usr/com \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    $CONFIGURE_XPATH

Reported by swojskichlopak@wp.pl on 2014-08-17 19:35:56

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

I'm not sure I understand. But it would be nice to know if problem exists in 2.2 or
not. I.e. even if system's %configure macro is broken.

Reported by alkondratenko on 2014-08-17 19:42:27

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

This is problem with macro %configure

When I'm trying from terminal
./configure
make
make install

working
also then

./configure
%{__make}
%{__make} install

When I'm trying

%configure
%{__make}   or make

I have warning with make

Very Thanks for suggestions :-)
So topic is SOLVED 

Reported by swojskichlopak@wp.pl on 2014-08-17 19:42:52

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

alkondratenko
<code> I'm not sure I understand. But it would be nice to know if problem exists in
2.2 or not. I.e. even if system's %configure macro is broken. </code>

Ok, write when gperftools 2.2 will,
I will test.

Reported by swojskichlopak@wp.pl on 2014-08-17 20:04:53

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

2.2 was released few months ago. It is not available in Downloads because code.google.com
stopped accepting new files in Downloads section. See main page for links to .tar.gz
of 2.2.

Reported by alkondratenko on 2014-08-17 20:06:51

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

Ok, gperftools 2.2.1 working with %configure

Very Thanks for help !  :-)

Reported by swojskichlopak@wp.pl on 2014-08-17 20:17:47

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

Ok, gperftools 2.2.1 working with %configure
and with gperftools 2.2 also working.

Very Thanks for help !  :-)

Reported by swojskichlopak@wp.pl on 2014-08-17 20:21:38

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

Closing then. Thanks.

Reported by alkondratenko on 2014-08-17 20:25:08

  • Status changed: CannotReproduce

@alk alk closed this as completed Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant