[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 181977] New: codes dont run instead i get (where mode is my
From: Okpak Ifeoluwa <delicowa () yahoo ! com>
Date: 2009-01-26 13:04:47
Message-ID: bug-181977-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
http://bugs.kde.org/show_bug.cgi?id=181977
Summary: codes dont run instead i get (where mode is my
application name) "/bin/sh:
/home/ghost/mode/debug/./src/mode: not found Press Enter
to continue!"
Product: kdevelop
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: delicowa@yahoo.com
Version: kdevelop 3.5.3 using 3.5.10 {installed with synaptic} on kde
4.1.3 (using KDE 4.1.3)
Compiler: gcc 4.3.1
OS: Linux
Installed from: Ubuntu Packages
when i try to compile codes it tries to have somekind of interaction with
xserver.
just like this
cd '/home/ghost/mode/debug/./src' && WANT_AUTOCONF_2_5="1"
WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make -k mode
/bin/bash ../libtool --tag=CXX --mode=link g++ -O0 -g3 -o mode mode.o
../libtool: line 832: X--tag=CXX: command not found
../libtool: line 865: libtool: ignoring unknown tag : command not found
../libtool: line 832: X--mode=link: command not found
../libtool: line 999: *** Warning: inferring the mode of operation is
deprecated.: command not found
../libtool: line 1000: *** Future versions of Libtool will require --mode=MODE
be specified.: command not found
gcc: no input files
gcc: no input files
gcc: no input files
gcc: no input files
../libtool: line 2237: X-O0: command not found
../libtool: line 2237: X-g3: command not found
../libtool: line 2406: Xmode: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2418: Xmode: command not found
../libtool: line 5178: Xg++ "" "" -o @OUTPUT@ mode.o : command not found
../libtool: line 5179: Xg++ "" "" -o @OUTPUT@ mode.o : command not found
X: user not authorized to run the X server, aborting.
../libtool: line 5188: : command not found
*** Success ***
and then this output on the konsole screen
/bin/sh: /home/ghost/mode/debug/./src/mode: not found
Press Enter to continue!
i installed intrepid from cd and installed KDE 4.1.3 with synaptic. and then
asked apt to install kdevelop ie (sudo apt-get install kdevelop).and only my
first 2 programs worked. i tried to remove and re-install kdevelop but no
changes...please help me resolve this as it is really slowing down my school
work...
here is the code i tried to run
#include <cstdlib>
#include <iostream>
using namespace std;
//Variables
int counter=1,temp,temp2,n,x,y,z;
bool swapOccur;
//Functions
int main(int argc, char *argv[]){
cout << "Enter amount of numbers" << endl;
cin >> n;
int array[n],counterArray[n];
for(x=0;x<n;x++){
cout << x+1 << ".)";
cin >> array[x];
}
for(y=0;y<n;y++){
counter=1;
for(z=(y+1);z<n;z++){
if(array[y]==array[z]){
counter ++;
}
}
counterArray[y] = counter;
}
swapOccur = true;
while(swapOccur){
swapOccur = false;
for(z=0;z<(n-1);z++){
if(counterArray[z]>counterArray[z+1]){
temp = counterArray[z];
temp2 = array[z];
counterArray[z] = counterArray[z+1];
array[z] = array[z+1];
counterArray[z+1] = temp;
array[z+1] = temp2;
swapOccur = true;
}
}
}
cout << "\nResults:\n";
for(y=0;y<n;y++){
cout << array[(n-y)-1] << " appeared " << counterArray[(n-y)-1] << "
time(s)."<< endl;
}
system("PAUSE");
return EXIT_SUCCESS;
}
it compiles well but it doesnt show nada i tried to search the project
directory but all files there are *.o and no executables.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic