Skip to content

Instantly share code, notes, and snippets.

@dwlf
Created June 16, 2015 04:19
Show Gist options
  • Save dwlf/8d18d587b783f736b40f to your computer and use it in GitHub Desktop.
Save dwlf/8d18d587b783f736b40f to your computer and use it in GitHub Desktop.
gcc, g++ exe not in gcc49 on smartos?
__ . .
_| |_ | .-. . . .-. :--. |-
|_ _| ;| || |(.-' | | |
|__| `--' `-' `;-| `-' ' ' `-'
/ ; Instance (base-64 15.1.1)
`-' https://docs.joyent.com/images/smartos/base
[root@cb2299e2-5f28-ea84-8aac-8e45c0ee6b40 ~]# pkgin up
reading local summary...
processing local summary...
updating database: 100%
pkg_summary.bz2 100% 1990KB 1.9MB/s 1.9MB/s 00:01
processing remote summary (http://pkgsrc.joyent.com/packages/SmartOS/2015Q1/x86_64/All)...
updating database: 100%
[root@cb2299e2-5f28-ea84-8aac-8e45c0ee6b40 ~]# pkgin search gcc
mingw-w32api-bin-3.11 GCC libraries for win32 cross-development
mingw-runtime-bin-3.14 GCC runtime libraries for win32 cross-development
lcov-1.9nb3 Front-end for GCC's coverage testing tool gcov
isl-0.14 Integer set library required by gcc graphite
gccmakedep-1.0.3 Create dependencies in Makefiles using gcc
gcc49-libs-4.9.2nb2 The GNU Compiler Collection (GCC) support shared libraries
gcc49-4.9.2nb1 The GNU Compiler Collection (GCC) - 4.9 Release Series
gcc48-4.8.4 The GNU Compiler Collection (GCC) - 4.8 Release Series
gcc47-libs-4.7.4nb1 = The GNU Compiler Collection (GCC) support shared libraries
gcc47-4.7.4 The GNU Compiler Collection (GCC) - 4.7 Release Series
gcc-mips-4.9.2 The GNU Compiler Collection (GCC) - 4.9 for mips (especially playstation2)
cloog-0.18.1 Code generator for loop optimization (used by gcc)
=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available package
[root@cb2299e2-5f28-ea84-8aac-8e45c0ee6b40 ~]# pkgin in gcc49
calculating dependencies... done.
nothing to upgrade.
2 packages to be installed (331M to download, 1043M to install):
binutils-2.24nb3 gcc49-4.9.2nb1
proceed ? [Y/n]
downloading packages...
binutils-2.24nb3.tgz 100% 9545KB 9.3MB/s 9.3MB/s 00:01
gcc49-4.9.2nb1.tgz 100% 322MB 107.3MB/s 15.3MB/s 00:03
installing packages...
installing binutils-2.24nb3...
binutils-2.24nb3: registering info file /opt/local/info/as.info
binutils-2.24nb3: registering info file /opt/local/info/bfd.info
binutils-2.24nb3: registering info file /opt/local/info/binutils.info
binutils-2.24nb3: registering info file /opt/local/info/gprof.info
binutils-2.24nb3: registering info file /opt/local/info/ld.info
installing gcc49-4.9.2nb1...
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/cpp.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/cppinternals.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gcc.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gccgo.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gccinstall.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gccint.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gfortran.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/libgomp.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/libitm.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/libquadmath.info
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
updating database: 100%
marking gcc49-4.9.2nb1 as non auto-removable
[root@cb2299e2-5f28-ea84-8aac-8e45c0ee6b40 ~]# gcc
-bash: gcc: command not found
[root@cb2299e2-5f28-ea84-8aac-8e45c0ee6b40 ~]# g++
-bash: g++: command not found
__ . .
_| |_ | .-. . . .-. :--. |-
|_ _| ;| || |(.-' | | |
|__| `--' `-' `;-| `-' ' ' `-'
/ ; Instance (base-64-lts 14.4.2)
`-' https://docs.joyent.com/images/smartos/base
[root@a37111d6-ca60-c2ef-ab36-8c974c671b5a ~]# pkgin up
reading local summary...
processing local summary...
updating database: 100%
pkg_summary.bz2 100% 2077KB 2.0MB/s 2.0MB/s 00:01
processing remote summary (http://pkgsrc.joyent.com/packages/SmartOS/2014Q4/x86_64/All)...
updating database: 100%
[root@a37111d6-ca60-c2ef-ab36-8c974c671b5a ~]# pkgin in gcc49
calculating dependencies... done.
nothing to upgrade.
2 packages to be installed (331M to download, 1043M to install):
binutils-2.24nb3 gcc49-4.9.2nb1
proceed ? [Y/n]
downloading packages...
binutils-2.24nb3.tgz 100% 9548KB 9.3MB/s 9.3MB/s 00:00
gcc49-4.9.2nb1.tgz 100% 322MB 107.3MB/s 52.3MB/s 00:03
installing packages...
installing binutils-2.24nb3...
binutils-2.24nb3: registering info file /opt/local/info/as.info
binutils-2.24nb3: registering info file /opt/local/info/bfd.info
binutils-2.24nb3: registering info file /opt/local/info/binutils.info
binutils-2.24nb3: registering info file /opt/local/info/gprof.info
binutils-2.24nb3: registering info file /opt/local/info/ld.info
installing gcc49-4.9.2nb1...
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/cpp.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/cppinternals.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gcc.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gccgo.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gccinstall.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gccint.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/gfortran.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/libgomp.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/libitm.info
gcc49-4.9.2nb1: registering info file /opt/local/gcc49/info/libquadmath.info
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
updating database: 100%
marking gcc49-4.9.2nb1 as non auto-removable
[root@a37111d6-ca60-c2ef-ab36-8c974c671b5a ~]# gcc
-bash: gcc: command not found
[root@a37111d6-ca60-c2ef-ab36-8c974c671b5a ~]# g++
-bash: g++: command not found
[root@a37111d6-ca60-c2ef-ab36-8c974c671b5a ~]# Connection to 165.225.175.170 closed by remote host.
Connection to 165.225.175.170 closed.
@xer0x
Copy link

xer0x commented Nov 23, 2018

wat?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment