Help building cuda-9.0

Hello everyone. My older Nvidia GT 730M apparently needs cuda-9.0 for working with hashcat. I first tried with yay and it failed (as my yay often does) so I tried in the pamac gui (which usually succeeds if yay fails). It failed as well. Cuda is huge and I’m in the US with limited hotspot so I figured I’d better ask before I run out. Each try uses over a gig of my hotspot data. I’d sure appreciate a hand with this.

Here’s my inxi…

[user@user-laptop ~]$ sudo inxi -Fmxxxz
[sudo] password for user: 
System:    Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: Xfce 4.16.0 
           tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 20AN009CUS v: ThinkPad T440p serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 20AN009CUS v: 0B98401 PRO serial: <filter> UEFI: LENOVO 
           v: GLETA1WW (2.55 ) date: 04/20/2020 
Battery:   ID-1: BAT0 charge: 50.1 Wh (100.0%) condition: 50.1/56.2 Wh (89.3%) volts: 12.4 
           min: 10.8 model: LGC 45N1147 type: Li-ion serial: <filter> status: Full 
Memory:    RAM: total: 15.52 GiB used: 3.01 GiB (19.4%) 
           Array-1: capacity: 16 GiB slots: 2 EC: None max-module-size: 8 GiB note: est. 
           Device-1: ChannelA-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3 detail: synchronous 
           bus-width: 64 bits total: 64 bits manufacturer: 1324 part-no: H641GU67G1600G 
           serial: N/A 
           Device-2: ChannelB-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3 detail: synchronous 
           bus-width: 64 bits total: 64 bits manufacturer: 0000 part-no: N/A serial: N/A 
CPU:       Info: Quad Core model: Intel Core i7-4700MQ bits: 64 type: MT MCP arch: Haswell 
           rev: 3 cache: L1: 64 KiB L2: 6 MiB L3: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38333 
           Speed: 2395 MHz min/max: 800/3400 MHz volts: 0.8 V ext-clock: 100 MHz 
           Core speeds (MHz): 1: 2395 2: 2395 3: 2395 4: 2398 5: 2395 6: 2395 7: 2395 8: 2395 
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo 
           driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300 
           Device-2: NVIDIA GK208M [GeForce GT 730M] vendor: Lenovo driver: nvidia v: 390.141 
           bus-ID: 02:00.0 chip-ID: 10de:1290 class-ID: 0300 
           Device-3: Acer SunplusIT Integrated Camera type: USB driver: uvcvideo bus-ID: 2-12:6 
           chip-ID: 5986:0268 class-ID: 0e02 
           Display: server: X.Org 1.20.10 driver: loaded: modesetting,nvidia 
           resolution: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: GeForce GT 730M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.141 
           direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
           vendor: Lenovo ThinkPad T440p driver: snd_hda_intel v: kernel bus-ID: 00:03.0 
           chip-ID: 8086:0c0c class-ID: 0403 
           Device-2: Intel 8 Series/C220 Series High Definition Audio 
           vendor: Lenovo ThinkPad T440p driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
           chip-ID: 8086:8c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.9.16-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.23 running: no 
Network:   Device-1: Intel Ethernet I217-LM vendor: Lenovo ThinkPad T440p driver: e1000e 
           v: kernel port: 4080 bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 3000 bus-ID: 04:00.0 
           chip-ID: 8086:08b2 class-ID: 0280 
           IF: wlp4s0 state: up mac: <filter> 
           Device-3: Qualcomm Atheros AR9271 802.11n type: USB driver: N/A bus-ID: 2-6:19 
           chip-ID: 0cf3:9271 class-ID: ff00 serial: <filter> 
Drives:    Local Storage: total: 232.89 GiB used: 112.95 GiB (48.5%) 
           ID-1: /dev/sda vendor: Western Digital model: WDS250G2B0A-00SM50 size: 232.89 GiB 
           speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 90WD scheme: GPT 
Partition: ID-1: / size: 31.25 GiB used: 13.78 GiB (44.1%) fs: ext4 dev: /dev/sda2 
           ID-2: /boot/efi size: 98.4 MiB used: 298 KiB (0.3%) fs: vfat dev: /dev/sda1 
           ID-3: /home size: 180.89 GiB used: 99.16 GiB (54.8%) fs: ext4 dev: /dev/sda4 
Swap:      ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 54.0 C mobo: 0.0 C gpu: nvidia temp: 51 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 243 Uptime: 9h 23m wakeups: 1 Init: systemd v: 247 Compilers: gcc: 10.2.0 
           alt: 6 Packages: pacman: 1255 Shell: Bash (sudo) v: 5.1.0 running-in: xfce4-terminal 
           inxi: 3.3.03

With yay, it failed saying I had no C Compiler in $PATH. It gave me the option of GCC6 or GCC6-multilib and I chose the multilib simply because it sounded better. It ended like this…

==> Extracting sources...
  -> Extracting libart_lgpl-2.3.21.tar.bz2 with bsdtar
==> Sources are ready.
==> Making package: libart-lgpl 2.3.21-5 (Wed 24 Mar 2021 01:53:04 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/user/.cache/yay/libart-lgpl/src/libart_lgpl-2.3.21':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
==> ERROR: A failure occurred in build().
    Aborting...
error making: libart-lgpl

Then, with the Pamac GUI, it ended like this…

50 73.9M   50 37.0M    0     0  2073k      0  0:00:36  0:00:18  0:00:18 1567k
 51 73.9M   51 37.7M    0     0  1981k      0  0:00:38  0:00:19  0:00:19 1152k
 51 73.9M   51 37.7M    0     0  1899k      0  0:00:39  0:00:20  0:00:19  743k
 55 73.9M   55 40.9M    0     0  1994k      0  0:00:37  0:00:21  0:00:16 1447k
 58 73.9M   58 43.5M    0     0  2021k      0  0:00:37  0:00:22  0:00:15 2023k
 61 73.9M   61 45.4M    0     0  2019k      0  0:00:37  0:00:23  0:00:14 1812k
 64 73.9M   64 47.8M    0     0  2038k      0  0:00:37  0:00:24  0:00:13 2283k
 67 73.9M   67 50.0M    0     0  2044k      0  0:00:37  0:00:25  0:00:12 2678k
 71 73.9M   71 52.5M    0     0  2066k      0  0:00:36  0:00:26  0:00:10 2372k
 74 73.9M   74 54.9M    0     0  2079k      0  0:00:36  0:00:27  0:00:09 2336k
 77 73.9M   77 57.5M    0     0  2101k      0  0:00:36  0:00:28  0:00:08 2477k
 81 73.9M   81 59.9M    0     0  2114k      0  0:00:35  0:00:29  0:00:06 2481k
 84 73.9M   84 62.5M    0     0  2133k      0  0:00:35  0:00:30  0:00:05 2576k
 87 73.9M   87 64.6M    0     0  2133k      0  0:00:35  0:00:31  0:00:04 2481k
 90 73.9M   90 66.8M    0     0  2137k      0  0:00:35  0:00:32  0:00:03 2448k
 94 73.9M   94 69.5M    0     0  2155k      0  0:00:35  0:00:33  0:00:02 2459k
 97 73.9M   97 71.9M    0     0  2162k      0  0:00:34  0:00:34 --:--:-- 2441k
100 73.9M  100 73.9M    0     0  2171k      0  0:00:34  0:00:34 --:--:-- 2413k
  -> Found cuda-9.0.sh
  -> Found cuda-9.0.conf
  -> Found cuda-findgllib_mk.diff
==> Validating source files with sha512sums...
    cuda_9.0.176_384.81_linux-run ... Passed
    cuda_9.0.176.1_linux-run ... Passed
    cuda_9.0.176.2_linux-run ... Passed
    cuda_9.0.176.3_linux-run ... Passed
    cuda_9.0.176.4_linux-run ... Passed
    cuda-9.0.sh ... Passed
    cuda-9.0.conf ... Passed
    cuda-findgllib_mk.diff ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
cuda_9.0.176_384.81_linux-run: line 436: exec: -t: invalid option
exec: usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]
==> ERROR: A failure occurred in prepare().
    Aborting...

Seems to me if yay can’t find the C Compiler…well I don’t know.

I still have both the terminal and Pamac GUI open if any more info is needed…

Crap! I’m on a new system and haven’t installed base-devel yet. That MAY fix yay’s immediate problem…

It finished building…oops…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.