LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-14-2011, 09:57 PM   #1
thebombzen
Member
 
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

#!/bin/sh

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
fi

that produces this error:

some-sh.sh: line 3: test: too many arguments

How can I fix this?
 
Old 02-14-2011, 10:21 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

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


Reply

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


All times are GMT -5. The time now is 01:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration