HELP: Few questions in Ubuntu

Discussion in 'Open Source' started by shivkumar, Dec 12, 2006.

Thread Status:
Not open for further replies.
  1. shivkumar

    shivkumar >>>>>Monkey Power

    Joined:
    Oct 1, 2005
    Messages:
    154
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    enroute to hell
    Last few days, I have been busy installing Ubuntu and then making it work all the things like Windows.
    Well thanks to help on this forum and other older threads, I have been able to connect my mobile (airtel connection) to browse net, install support for restricted multimedia format, customizing look and so on.

    1) I have installed gnokii and multisync for transferring pictures, jar and sis files to and fro mobile (Nokia 6681), but they seem to be unable to identify the device what should i do?
    2) Is openobex better than above 2 mentioned s/w for browsing of mobile?
    3) What are gcc modules required to be installed to compile and install binary files?
    4) i have installed few updates though synaptic and few programmes from apt-get and Add/Remove... (GUI)? where are these updates stored? Can I write them in CD and later simply install them directly? (I cannot afford to carry my lappy all the times to some of my friends house to update ubuntu in case of reinstallation)

    Thanks in advance
     
  2. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Dunno about the first two but I do use openobex to transfer files from PC to cell and it's good.
    4) Packages are stored in /var/cache/apt/archives
     
  3. OP
    OP
    shivkumar

    shivkumar >>>>>Monkey Power

    Joined:
    Oct 1, 2005
    Messages:
    154
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    enroute to hell
    @mehul: Thanks for the reply

    I got the info about gnokii from here

    Regarding openobex, I installed gcc using apt-get and then tried to install openobex. during installation process, i get the following output

    Code:
    root@shiv-laptop:/home/shiv/Desktop/openobex-1.3# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... no
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    
    and this is the content of config.log
    Code:
    his file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    
    It was created by configure, which was
    generated by GNU Autoconf 2.59.  Invocation command line was
    
      $ ./configure 
    
    ## --------- ##
    ## Platform. ##
    ## --------- ##
    
    hostname = shiv-laptop
    uname -m = i686
    uname -r = 2.6.15-27-386
    uname -s = Linux
    uname -v = #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006
    
    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown
    
    /bin/arch              = i686
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    hostinfo               = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/bin/X11
    PATH: /usr/games
    
    
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    
    configure:1542: checking for a BSD-compatible install
    configure:1597: result: /usr/bin/install -c
    configure:1608: checking whether build environment is sane
    configure:1651: result: yes
    configure:1716: checking for gawk
    configure:1745: result: no
    configure:1716: checking for mawk
    configure:1732: found /usr/bin/mawk
    configure:1742: result: mawk
    configure:1752: checking whether make sets $(MAKE)
    configure:1776: result: no
    configure:1943: checking whether to enable maintainer-specific portions of Makefiles
    configure:1952: result: no
    configure:2059: checking for gcc
    configure:2075: found /usr/bin/gcc
    configure:2085: result: gcc
    configure:2329: checking for C compiler version
    configure:2332: gcc --version </dev/null >&5
    gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    configure:2335: $? = 0
    configure:2337: gcc -v </dev/null >&5
    Using built-in specs.
    Target: i486-linux-gnu
    Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu
    Thread model: posix
    gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
    configure:2340: $? = 0
    configure:2342: gcc -V </dev/null >&5
    gcc: '-V' option must have argument
    configure:2345: $? = 1
    configure:2368: checking for C compiler default output file name
    configure:2371: gcc -Wall -O2   conftest.c  >&5
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    configure:2374: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | 
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "openobex"
    | #define VERSION "1.3"
    | #define CONFIGDIR "/etc/openobex"
    | /* end confdefs.h.  */
    | 
    | int
    | main ()
    | {
    | 
    |   ;
    |   return 0;
    | }
    configure:2413: error: C compiler cannot create executables
    See `config.log' for more details.
    
    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##
    
    ac_cv_env_BLUEZ_CFLAGS_set=
    ac_cv_env_BLUEZ_CFLAGS_value=
    ac_cv_env_BLUEZ_LIBS_set=
    ac_cv_env_BLUEZ_LIBS_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_USB_CFLAGS_set=
    ac_cv_env_USB_CFLAGS_value=
    ac_cv_env_USB_LIBS_set=
    ac_cv_env_USB_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=mawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=no
    
    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##
    
    ACLOCAL='${SHELL} /home/shiv/Desktop/openobex-1.3/missing --run aclocal-1.9'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/shiv/Desktop/openobex-1.3/missing --run tar'
    APPS_FALSE=''
    APPS_TRUE=''
    AR=''
    AUTOCONF='${SHELL} /home/shiv/Desktop/openobex-1.3/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/shiv/Desktop/openobex-1.3/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/shiv/Desktop/openobex-1.3/missing --run automake-1.9'
    AWK='mawk'
    BLUEZ_CFLAGS=''
    BLUEZ_LIBS=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS='-Wall -O2'
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S=''
    LTLIBOBJS=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /home/shiv/Desktop/openobex-1.3/missing --run makeinfo'
    OBJEXT=''
    PACKAGE='openobex'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    RANLIB=''
    REQUIRES=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/sh'
    STRIP=''
    USB_CFLAGS=''
    USB_LIBS=''
    VERSION='1.3'
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    ac_pt_PKG_CONFIG=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build=''
    build_alias=''
    build_cpu=''
    build_os=''
    build_vendor=''
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/home/shiv/Desktop/openobex-1.3/install-sh'
    libdir='/usr/local/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/share/man'
    mkdir_p='mkdir -p --'
    oldincludedir='/usr/include'
    prefix='/usr/local'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='/etc'
    target_alias=''
    
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##
    
    #define CONFIGDIR "/etc/openobex"
    #define PACKAGE "openobex"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "1.3"
    
    configure: exit 77
    
    Can you please guide me what to do next, do i need to install any additional package.

    Btw the openobex binary file is openobex-1.3.tar.gz
     
  4. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    @shivkumar - I own a 6681 too, I havent tried again since back 4 months, but Openobex didnt help me. I heard KMobileTools is good. Guess I'll try again soon and see if am successful with it...
     
  5. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    shivkumar openobex is available in the ubuntu repositories. You can very well install it from there.
    And you are missing make and gawk. I forgot the package name that you have to install. I guess it's toolchain, it should give you all the tools for compiling like gcc, gc++, make. I will check it and reply back.
     
  6. OP
    OP
    shivkumar

    shivkumar >>>>>Monkey Power

    Joined:
    Oct 1, 2005
    Messages:
    154
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    enroute to hell
    Thanks QwertyManiac & tech_your_future
    Digit forum rocks bcos pf people like you.

    Can I install KDE based packages Kmobiletools on GMONE :confused:

    tech_your_future: Waiting for your reply on compiler utilities
     
  7. kalpik

    kalpik In Pursuit of "Happyness"

    Joined:
    May 18, 2005
    Messages:
    3,002
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    New Delhi
    For the compiler tools, do sudo apt-get install build-essential and yes, you can install KDE based packages on Gnome (though its not recommended).
     
  8. OP
    OP
    shivkumar

    shivkumar >>>>>Monkey Power

    Joined:
    Oct 1, 2005
    Messages:
    154
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    enroute to hell
    @ kalpik. Thanks. I have just now installed kmobilletools but it is giving some configuration error.

    @tech_your_future: the toolchain package is uclibc-toolchain

    I am getting frustrated of being unable to transfer the pictures from my mobile to net. Maybe tonight I will log into Windows since installing Ubuntu. Even I am unable to open Nokia PC Suite using wine.

    Can you please help me in transferring files from mobile to PC? and
    Where can i get some guidance on using Wine ?
     
  9. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Nah it's build-essential as kalpik replied. Where are you installing Kmobiletools from? Install these softwares from yum only. It will manage all the deps and work fine.
     
  10. kalpik

    kalpik In Pursuit of "Happyness"

    Joined:
    May 18, 2005
    Messages:
    3,002
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    New Delhi
    ^^ yum?? On ubuntu??!! Hehe.. tabhi main kehta hun.. thoda so bhi liya kar!

    @shivkumar: Why dont you use bluetooth to transfer pics and such stuff?
     
  11. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Oops sorry problem of reading two forums at a time :p it's should have been apt not yum
    Idhar kuch jyada hi so raha hoon mein. 12-15 hrs din mein. Aur tu bol raha hain aur jyada so!
     
  12. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    @shivkumar - sudo apt-get install kmobiletools would install all stuff it needs and etc, no need of KDE, it'd function fine!
     
  13. OP
    OP
    shivkumar

    shivkumar >>>>>Monkey Power

    Joined:
    Oct 1, 2005
    Messages:
    154
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    enroute to hell
    guys, i just messed up with my system, (watching a dvd, it got stuck, i did cold reboot and grub is gone) any ways i reinstalled ubuntu (was unable to reinstall grub) and am back to square one. :cry:

    Well, hopefully tomorrow night, i will be able to again go ahead with the mobile file transfer stuffs.
    @kalpik: my laptop is an antique :lol: Intel R40e which doesn't have bluetooth in it. As such I prefer cable connection, bcos, practically i have seen there is difference in gprs connection speed in cable (higher: 9-10 kBps) and Bluetooth (lower: 6-7 kBps). Anyways, i can buy a bluetooth dongle on this weekend.
     
  14. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Don't do a reboot if linux gets stuck. Use these key combinations.
    alt + sysrq + s
    alt + sysrq + u
    alt + sysrq + b
    They should be given one after another in the same sequence. First one is for sync, second for unmount and third for reboot.
    That's why attending LUG meets help :p
     
  15. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    Ahh dude! Installing GRUB is way easier than doing a reformat!

    And btw, my comp has no UPS and goes on and off when I keep it on for 24/7, I wonder how your grub busted up when mine didnt over the months!

    Anyway the solution's usually:

    1. Boot your computer with Ubuntu CD.
    2. Go through the install process until you reach "[!!!] Disk Partition."
    3. Select Manually Partition.
    4. Mount the appropriate linux partions:
    /
    /boot
    swap
    DO NOT FORMAT THEM
    5. Finish the manual partitioning.
    6. Select "Yes" when it asks you to save the changes.
    7. It will give you errors saying that "The system couldn't install ....." after that; ignore them. Proceed with selecting "continue" until you get back to the Ubuntu installation menu.
    8. Jump to "Install GRUB."
    9. Once it is finished, simply restart your computer.

    From doc.gwos.org
     
  16. OP
    OP
    shivkumar

    shivkumar >>>>>Monkey Power

    Joined:
    Oct 1, 2005
    Messages:
    154
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    enroute to hell
    @tech_your_future: How do I become member of LUG. I am in Cochin, Kerala.

    @QwertyManiac: Well, I booted my pc with livecd and tried these steps but on step 7, the installer package would simply exit, it was not taking me to Ubuntu Installation menu.
    I also tried console command grub to reinsall but unsuccessful. It was returning Error Code 2 upon any attempt to install grub at (hd0).
     
  17. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    See this thread for list of LUG's http://www.thinkdigit.com/forum/showthread.php?t=2775 . ILUG-Cochin - ilug-cochin[AT]eGroups.com . This is the address of mailing list, presumably, of the Cochin LUG. You just have to subscribe to the list and anyways, anyone can attend LUG meets, they need not be a member of the LUG. LUG's are also very helpful in acquring a lot of info on FOSS.
     
  18. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    @shivkumar:below is the link to their website.Mr.Jay Jacob is the coordinator of ilug Ernakulam.also there is Fsug-Kochi coordinated by Adv.Mahesh T Pai.
    Ilug meets every month on Broadway Time's Internet Cafe.As i am from Muvattupuzha,i got this info from their mailing lists.
    http://ilug-cochin.org/
    http://puggy.symonds.net/~fsug-kochi/
     
  19. OP
    OP
    shivkumar

    shivkumar >>>>>Monkey Power

    Joined:
    Oct 1, 2005
    Messages:
    154
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    enroute to hell
    Guys,

    Thanks for the support till now, but still I am facing problem in doing few of the common things,
    I am still unable to transfer file from my Mobile (6681) to PC, I have installed gnokii and openobex. gnokii is just startting and crashing / getting closed by itself in gui mode.
    for openobex, i tried used obexftp command but i am unable to connect. obex is trying to detect my mobile a Erricson/Siemens mobile and then its giving error report
    Code:
    shiv@shiv-laptop:/media/hda1/Program Files/VideoLAN/VLC$ obexftp -F -t /dev/ttyACM0 -l /
    Suppressing FBS.
    Custom transport set to 'Siemens/Ericsson'
    Connecting...failed: connect
    Still trying to connect
    Connecting...failed: connect
    Still trying to connect
    Connecting...failed: connect
    Still trying to connect
    
    My second problem is that i am unable to watch vcd :cry:. I have installed all the restricted format codecs, win32 codecs and dvd codecs. I am able to watch DVD, play mp3s and real media :lol: but no vcd.
    I have installed the following m/m packaes
    gxine
    totem movie player
    ogle
    real player
    vlc player

    Please help me ... fast
     
Thread Status:
Not open for further replies.

Share This Page