LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2012, 03:04 PM   #1
ramecare
Member
 
Registered: Feb 2011
Posts: 179

Rep: Reputation: 0
Error: cannot remove "libtoolT"


Hi all,

Iam using CentOS 6.2 x86 64 and i have installed apache(httpd) and mysql through yum repository and i have installed
# yum install zlib*
# yum install libtool*
# yum install gcc*

and now iam installing tomcat connector in /usr/share iam facing below error can any one help me on this to solve

# cd /usr/share/tomcat-connectors-1.2.35-src/native
# [root@u16142015 native]# ./buildconf.sh
buildconf: checking installation...
buildconf: autoconf version 2.63 (ok)
buildconf: libtool version 2.2.6 (ok)
buildconf: libtoolize --automake --copy
buildconf: aclocal
buildconf: autoheader
buildconf: automake -a --foreign --copy
buildconf: autoconf
[root@u16142015 native]# ./configure --with-apxs=/usr/sbin/apxs
checking build system type... x86_64-unknown-linux-gnu
.
.
.
checking for poll.h... yes
checking for poll... yes
checking for target platform... unix
no apache given
no netscape given
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating common/jk_types.h
config.status: creating common/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT': No such file or directory

Thanks,

Last edited by ramecare; 04-26-2012 at 03:18 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-26-2012, 03:27 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by ramecare View Post
Hi all,
Iam using CentOS 6.2 x86 64 and i have installed apache(httpd) and mysql through yum repository and i have installed
# yum install zlib*
# yum install libtool*
# yum install gcc*

and now iam installing tomcat connector in /usr/share iam facing below error can any one help me on this to solve
Have you tried putting that error into Google??? Amazing what you'd find...like a solution from the Apache forums:
https://issues.apache.org/bugzilla/s...g.cgi?id=51726

So edit the configure script, and change the "rm" to an "rm -f" for that line.
 
Old 04-26-2012, 04:18 PM   #3
ramecare
Member
 
Registered: Feb 2011
Posts: 179

Original Poster
Rep: Reputation: 0
Hi!

# cd /usr/share/tomcat-connectors-1.2.35-src/native
IN buildconf.sh i have to add the below script and add -f
Pls help me out to solve this problem

cfgfile="${ofile}T"
trap "$RM -f \"$cfgfile\"; exit 1" 1 2 15
$RM -f "$cfgfile"

cat <<_LT_EOF >> "$cfgfile"
$SHELL

Thanks,
 
Old 04-26-2012, 04:37 PM   #4
ramecare
Member
 
Registered: Feb 2011
Posts: 179

Original Poster
Rep: Reputation: 0
Hi !

In cd /usr/share/tomcat-connectors-1.2.35-src/native
# configure file i changed -f but even after adding -f iam getting the same error when i run ./configure --with-apxs=/usr/sbin/apxs

Pls help on this issue to solve

Thanks
 
Old 04-26-2012, 04:43 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by ramecare View Post
Hi !

In cd /usr/share/tomcat-connectors-1.2.35-src/native
# configure file i changed -f but even after adding -f iam getting the same error when i run ./configure --with-apxs=/usr/sbin/apxs

Pls help on this issue to solve
Thanks
AGAIN....SPELL OUT YOUR WORDS, and don't bump your own threads. Posting a follow-up after 19 minutes is fairly rude; both of these things have been told to you SEVERAL times. Do you not understand?

Did you read the link I posted in my first reply???? The solution is in there.
 
Old 04-26-2012, 04:58 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Moved: This thread is more suitable in the Linux Software forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-26-2012, 05:12 PM   #7
ramecare
Member
 
Registered: Feb 2011
Posts: 179

Original Poster
Rep: Reputation: 0
I followed the steps as like the above website link and again iam facing the same problem
can u pls help me out to solve


Thanks,
 
Old 04-27-2012, 02:52 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by ramecare View Post
I followed the steps as like the above website link and again iam facing the same problem
can u pls help me out to solve
Thanks,
Do you not pay attention??? What part of SPELL OUT YOUR WORDS DO YOU NOT UNDERSTAND?????

If you actually DID follow those steps, it would be working. Sorry, but it's spelled out there on that site...if you followed Apache's directions EXACTLY like they're there, then you need to open a bug report with them. It's trying to rm a file that's not there...have you tried CREATING it with a touch command, so the rm command works?? And if you DID do what was suggested, the -f option would make the error disappear. So, either you didn't do what it told you to, or you don't understand how.
 
Old 08-07-2013, 04:14 PM   #9
robinsonaarond
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
Re: TBOne

Googling "apr cannot remove libtoolT" brought this forum up as the first link; isn't that what we want at LQ?

As a relatively new member of LQ, I don't know you. I sincerely hope the other 12,000 posts you have contributed are not so fastidious and demeaning as the ones you posted here.

At least you answered the question, though I can't say you were "helpful," or that I "approve of what's posted."
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
remove "Suspend" and "Hibernate" from the "Shut Down" applet cccc Debian 2 05-02-2011 10:05 AM
APR error while installing - rm: cannot remove `libtoolT' SkyerSK Linux - Software 2 03-08-2011 02:28 PM
[SOLVED] Remove "Wine core exe" in "Open with" menu (Ubuntu) tranduyhung Linux - Software 3 01-13-2011 07:21 PM
Qt "cannot call constructor for""a function-style cast remove the redundant ::QBrush" Peterius Linux - Software 4 11-24-2010 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration