Results 1 to 6 of 6

Thread: Installing make And patch Commands Without Internet

  1. #1
    Join Date
    Feb 2014
    Location
    1428 Elm Street
    Posts
    10

    Default Installing make And patch Commands Without Internet

    I just bought a refurbished tower so I could dual-boot Windows and Linux. Dropped an old DVD of Suse 12.3 on there, but no make or patch commands were on the DVD. In order to connect to the internet, I'm attempting to connect a RealTek 8188 Wireless N USB adapter. I've followed the instructions (modified a bit to reflect updated versions and filenames) on the website http://ubuntuforums.org/showthread.p...9#post12621449. Unfortunately, at the last few steps of running the script patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh I get the following error:

    patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh: line 6: patch: command not found
    patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh: line 7: make: command not found
    patch_rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105.sh: line 8: make: command not found
    insmod: can't read './8192cu.ko': No such file or directory


    I downloaded the two tarballs for make and patch, but I believe I'm dropping/extracting them to the wrong location for them to work successfully with the script. Can someone shed some light on to where I should extract my two commands' files?

    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,524
    Blog Entries
    15

    Default Re: Installing make And patch Commands Without Internet

    Hi
    Just downloading a tarball won't work....

    You need to go to http://download.opensuse.org/distrib...repo/oss/suse/ and manually download the rpm's and install those either via rpm or zypper as root user.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Feb 2014
    Location
    1428 Elm Street
    Posts
    10

    Default Re: Installing make And patch Commands Without Internet

    Beauty! I'll give this a whirl tomorrow. I knew I was missing something. Thanks.

  4. #4
    Join Date
    Feb 2014
    Location
    1428 Elm Street
    Posts
    10

    Default Re: Installing make And patch Commands Without Internet

    The saga continues...

    I successfully downloaded and Zyppered the appropriate make and patch and kernel files, but I've run into a new error. I believe it's telling me I need the gcc packages, but there are so many I don't know where to start. Am I interpreting this error correctly?
    Code:
    rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/clean
    patching file core/rtw_mp.c
    Hunk #1 FAILED at 1140.
    1 out of 1 hunk FAILED -- saving rejects to file core/rtw_mp.c.rej
    patching file include/osdep_service.h
    Hunk #1 succeeded at 811 (offset 711 lines).
    Hunk #2 FAILED at 136.
    Hunk #3 FAILED at 574.
    Hunk #4 succeeded at 1815 (offset 985 lines).
    2 out of 4 hunks FAILED -- saving rejects to file include/osdep_service.h.rej
    patching file os_dep/linux/os_intfs.c
    Hunk #1 FAILED at 797.
    1 out of 1 hunk FAILED -- saving rejects to file os_dep/linux/os_intfs.c.rej
    patching file os_dep/osdep_service.c
    Hunk #1 succeeded at 2298 with fuzz 1 (offset 745 lines).
    make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.7.10-1.1-desktop/build M=/home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911  modules
    make[1]: Entering directory `/usr/src/linux-3.7.10-1.1-obj/i386/desktop'
    /usr/src/linux-3.7.10-1.1/scripts/gcc-version.sh: line 25: gcc: command not found
    /usr/src/linux-3.7.10-1.1/scripts/gcc-version.sh: line 26: gcc: command not found
    make[3]: gcc: Command not found
      CC [M]  /home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o
    /bin/sh: gcc: command not found
    make[4]: *** [/home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o] Error 127
    make[3]: *** [_module_/home/Nick/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.7.10-1.1-obj/i386/desktop'
    make: *** [modules] Error 2
    install -p -m 644 8192cu.ko  /lib/modules/3.7.10-1.1-desktop/kernel/drivers/net/wireless/
    install: cannot stat ‘8192cu.ko’: No such file or directory
    make: *** [install] Error 1
    insmod: can't read './8192cu.ko': No such file or directory
    Thanks for your help.
    Last edited by malcolmlewis; 09-Jan-2016 at 07:56. Reason: Add code tags

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,524
    Blog Entries
    15

    Default Re: Installing make And patch Commands Without Internet

    Hi
    So the patch needs rebasing (all those FAILED lines) which won't be helping... most packages should be on the DVD or is this a live CD?

    As in the code it's trying to patch doesn't exist where it's expecting it, therefore it needs the src files edited with the changes in the righ places and the patch re-created.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,942
    Blog Entries
    2

    Default Re: Installing make And patch Commands Without Internet

    Since this is a very old version of openSUSE beyond active support,
    Maybe you'd want to consider downloading at least the 13.1 and 13.2 DVDs and upgrade to a current supported version?

    The hope and assumption is that just upgrading to 13.1 should enable support for your wireless adapter (no guarantee).
    Later versions of openSUSE will install later kernels which include support for more hardware.

    TSU

Posting Permissions

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