Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-14-2011, 08:57 PM   #1
Registered: Dec 2010
Location: Noneya Business
Distribution: Linux Mint
Posts: 56

Rep: Reputation: 5
Question Help with shell script error

I have some shell script


if test $ac_cv_sizeof_short -eq 0 \
-o $ac_cv_sizeof_unsigned_short -eq 0 \
-o $ac_cv_sizeof_int -eq 0 \
-o $ac_cv_sizeof_unsigned_int -eq 0 \
-o $ac_cv_sizeof_long -eq 0 \
-o $ac_cv_sizeof_unsigned_long -eq 0 \
-o $ac_cv_sizeof_long_long -eq 0 \
-o $ac_cv_sizeof_unsigned_long_long -eq 0 \
-o $ac_cv_sizeof_float -eq 0 \
-o $ac_cv_sizeof_double -eq 0 ; then
echo '*** I have a problem determining the size of some variable types. Either'
echo '*** you compiler is broken, or your system+compiler combination is not'
echo '*** supportet by the "autoconf" framework we use to generate this'
echo '*** configure script.'
exit 1

that produces this error: line 3: test: too many arguments

How can I fix this?
Old 02-14-2011, 09:21 PM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
How many arguments are you passing to it?


shell script

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
shell script error _Linux_Learner Linux - Newbie 11 02-21-2010 11:21 AM
awk shell script error ApacheRoseXbones Linux - Newbie 5 07-18-2008 12:06 PM
Help With A Shell Script Error PhantomFX Linux - Newbie 3 02-17-2005 04:42 AM
Shell Script Error Gerardoj Linux - General 2 12-03-2003 09:44 AM
Shell script error. chuck77 Linux - General 3 11-29-2001 11:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 AM.

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