Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ubuntu1204:~# sudo apt-get install build-essential libcurl4-openssl-dev automake make
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- build-essential is already the newest version.
- libcurl4-openssl-dev is already the newest version.
- make is already the newest version.
- make set to manually installed.
- Suggested packages:
- autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool gettext
- The following NEW packages will be installed:
- autoconf automake autotools-dev m4
- 0 upgraded, 4 newly installed, 0 to remove and 61 not upgraded.
- Need to get 1,374 kB of archives.
- After this operation, 4,037 kB of additional disk space will be used.
- Get:1 http://ca.archive.ubuntu.com/ubuntu/ precise/main m4 amd64 1.4.16-2ubuntu1 [200 kB]
- Get:2 http://ca.archive.ubuntu.com/ubuntu/ precise/main autoconf all 2.68-1ubuntu2 [560 kB]
- Get:3 http://ca.archive.ubuntu.com/ubuntu/ precise/main autotools-dev all 20120210.1ubuntu1 [42.4 kB]
- Get:4 http://ca.archive.ubuntu.com/ubuntu/ precise/main automake all 1:1.11.3-1ubuntu2 [571 kB]
- Fetched 1,374 kB in 0s (2,335 kB/s)
- Selecting previously unselected package m4.
- (Reading database ... 58661 files and directories currently installed.)
- Unpacking m4 (from .../m4_1.4.16-2ubuntu1_amd64.deb) ...
- Selecting previously unselected package autoconf.
- Unpacking autoconf (from .../autoconf_2.68-1ubuntu2_all.deb) ...
- Selecting previously unselected package autotools-dev.
- Unpacking autotools-dev (from .../autotools-dev_20120210.1ubuntu1_all.deb) ...
- Selecting previously unselected package automake.
- Unpacking automake (from .../automake_1%3a1.11.3-1ubuntu2_all.deb) ...
- Processing triggers for install-info ...
- Processing triggers for man-db ...
- Setting up m4 (1.4.16-2ubuntu1) ...
- Setting up autoconf (2.68-1ubuntu2) ...
- Setting up autotools-dev (20120210.1ubuntu1) ...
- Setting up automake (1:1.11.3-1ubuntu2) ...
- update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode.
- root@ubuntu1204:~# cd cpuminer
- root@ubuntu1204:~/cpuminer# ./autogen.sh
- configure.ac:15: installing `./compile'
- configure.ac:4: installing `./config.guess'
- configure.ac:4: installing `./config.sub'
- configure.ac:6: installing `./install-sh'
- configure.ac:6: installing `./missing'
- compat/jansson/Makefile.am: installing `./depcomp'
- Makefile.am: installing `./INSTALL'
- root@ubuntu1204:~/cpuminer# CFLAGS="-03 -Wall -msse2" ./configure
- checking build system type... x86_64-unknown-linux-gnu
- checking host system type... x86_64-unknown-linux-gnu
- checking target system type... x86_64-unknown-linux-gnu
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... yes
- checking for a thread-safe mkdir -p... /bin/mkdir -p
- checking for gawk... no
- checking for mawk... mawk
- checking whether make sets $(MAKE)... yes
- checking whether to enable maintainer-specific portions of Makefiles... no
- checking for style of include used by make... GNU
- checking for gcc... gcc
- checking whether the C compiler works... no
- configure: error: in `/root/cpuminer':
- configure: error: C compiler cannot create executables
- See `config.log' for more details
Advertisement
Add Comment
Please, Sign In to add comment