Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi, Its been long and i am back to linux.. Started with Ubuntu 10.4.1 1. My problem is i configured the build-essential(for c compilation). and I am unable to get ...
  1. #1
    Linux Newbie bunty82's Avatar
    Join Date
    Sep 2007
    Location
    Asia
    Posts
    130

    Question Multiple Question in Ubuntu

    Hi, Its been long and i am back to linux..
    Started with Ubuntu 10.4.1
    1. My problem is i configured the build-essential(for c compilation).
    and I am unable to get the output.This is what i do.(check the image)

    2.Since i wanted to copy the output from one of the tty's I tried GPM service.
    But i dont know how to copy it. Some says click the middle mouse button and it will copy but when i do some code start running on the console. no copy paste. Please help.

    3. How can i run JAVA programs.

    4. Thank you for your help.
    Attached Images Attached Images
    System Configuration
    OS#Windows Xp pro Sp2
    Intel Core 2 Duo 2.2ghz
    Intel motherboard DG965ry
    Nvidia graphic card 512mb
    2 gb ram
    250gb Sata segate HDD
    160gb sata segate hdd
    D link ethernetcard
    Lg dvd writer
    Lg cd writer

  2. #2
    Linux Newbie bunty82's Avatar
    Join Date
    Sep 2007
    Location
    Asia
    Posts
    130
    5. I lost my time display from the taskbar. How can i bring it back
    System Configuration
    OS#Windows Xp pro Sp2
    Intel Core 2 Duo 2.2ghz
    Intel motherboard DG965ry
    Nvidia graphic card 512mb
    2 gb ram
    250gb Sata segate HDD
    160gb sata segate hdd
    D link ethernetcard
    Lg dvd writer
    Lg cd writer

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Location
    Maryland, USA
    Posts
    83
    Welcome back!

    1. My problem is i configured the build-essential(for c compilation).
    and I am unable to get the output.This is what i do.(check the image)
    The image is too small to be readable and too fuzzy when blown up. (My eyes are old.) Perhaps you could provide a little more detail about the problem. For example, I don't know what "unable to get the output" means. Post your commands and the resulting errors or output between CODE tags.

    Your second item is complete Greek to me (I'm not Greek). In most Linux desktop environments, pressing the middle mouse button will copy highlighted text from one window to the cursor location in another window, but I don't know if that has anything to do with what you're trying to do. If that's not working for you, you can try Edit, Copy when the desired item or text is highlighted and then Edit, Paste when the cursor is positioned where you want to place the copied object. More info would be useful. Maybe you're trying to copy text from one console window to somewhere else. Detail the source and desired destination.

    3. How can i run JAVA programs.
    I believe your Ubuntu install includes the Open Java Runtime Environment (JRE), but it may not include the Java Development Kit (JDK). So, if you want to run existing Java programs, you should be able to by either selecting (double clicking) the Java executable or by the terminal command:

    Code:
    > java javaprogname
    If you need to compile Java source code, then search your repository (software installation) for JDK and install that, if not installed already.

    Again, more info would be helpful. If you're getting errors because your browser isn't configured correctly to run Java, that's different. But I can't tell what the problem is from the info you've provided.

    5. I lost my time display from the taskbar. How can i bring it back
    I recommend you start separate threads for each new problem rather than creating long lists that keep changing. Questions posed in lists get lost and not answered.

    I don't have an Ubunto OS handy on which to try out a solution, but try right-clicking on the taskbar and selecting "configure" or "properties" or a similarly named menu item to add the time widget (whatever it's called) back.
    Last edited by GregBrannon; 10-03-2010 at 12:37 PM.

  4. #4
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    Quote Originally Posted by bunty82 View Post
    Hi, Its been long and i am back to linux..
    Started with Ubuntu 10.4.1
    1. My problem is i configured the build-essential(for c compilation).
    and I am unable to get the output.This is what i do.(check the image)

    2.Since i wanted to copy the output from one of the tty's I tried GPM service.
    But i dont know how to copy it. Some says click the middle mouse button and it will copy but when i do some code start running on the console. no copy paste. Please help.

    3. How can i run JAVA programs.

    4. Thank you for your help.
    I can't really read what you're doing in the image, but I know the answer to question 3.
    For a java class file:
    Code:
    java file.class
    and for a jar file:
    Code:
    java -jar file.jar
    you can also right click and choose the java runtime environment to open the file with and it'll be executed.

  5. #5
    Linux Newbie bunty82's Avatar
    Join Date
    Sep 2007
    Location
    Asia
    Posts
    130
    Oh sorry for that crappy image. I selected the image directly from the computer.The image was quite big,but while saving in forum its size got shrunk. .
    I tried again with different pic same problem.
    So i uploaded it to photobucket. Hope u guys can read now.
    System Configuration
    OS#Windows Xp pro Sp2
    Intel Core 2 Duo 2.2ghz
    Intel motherboard DG965ry
    Nvidia graphic card 512mb
    2 gb ram
    250gb Sata segate HDD
    160gb sata segate hdd
    D link ethernetcard
    Lg dvd writer
    Lg cd writer

  6. #6
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by bunty82 View Post
    Oh sorry for that crappy image. I selected the image directly from the computer.The image was quite big,but while saving in forum its size got shrunk. .
    I tried again with different pic same problem.
    So i uploaded it to photobucket. Hope u guys can read now.
    It's a compilation error, not something wrong with your underlying system. We can't help you more without the actual code in your first.c file.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  7. #7
    Linux Newbie bunty82's Avatar
    Join Date
    Sep 2007
    Location
    Asia
    Posts
    130
    #include<stdio.h>
    #include<conio.h>

    void main()
    {
    int a,b,S;
    printf("enter two numbers a and b" );
    scanf("%d%d",&a&b );
    S=a+b;
    printf("the sum is %d",S );
    getch();
    }


    this is a simple program. i was trying to test.
    System Configuration
    OS#Windows Xp pro Sp2
    Intel Core 2 Duo 2.2ghz
    Intel motherboard DG965ry
    Nvidia graphic card 512mb
    2 gb ram
    250gb Sata segate HDD
    160gb sata segate hdd
    D link ethernetcard
    Lg dvd writer
    Lg cd writer

  8. #8
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    conio.h is for console input and output in msdos.
    You will need to rewrite your code to work without it
    or research the use of the curses library for
    similar functionality.

  9. #9
    Linux Newbie bunty82's Avatar
    Join Date
    Sep 2007
    Location
    Asia
    Posts
    130
    u mean to say that
    for
    working with C in linux i have to start working on different command lines.
    things are different here. or what !
    System Configuration
    OS#Windows Xp pro Sp2
    Intel Core 2 Duo 2.2ghz
    Intel motherboard DG965ry
    Nvidia graphic card 512mb
    2 gb ram
    250gb Sata segate HDD
    160gb sata segate hdd
    D link ethernetcard
    Lg dvd writer
    Lg cd writer

  10. #10
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    Quote Originally Posted by bunty82 View Post
    5. I lost my time display from the taskbar. How can i bring it back
    Right click on the taskbar (in an empty space)
    Select "Add to Panel..."
    Select Clock and click Add

    Quote Originally Posted by bunty82
    things are different here. or what !
    Kind of the point dude
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...