mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Linux (https://www.mersenneforum.org/forumdisplay.php?f=39)
-   -   64-bit CD or DVD Linux (https://www.mersenneforum.org/showthread.php?t=10224)

henryzz 2008-04-21 06:40

64-bit CD or DVD Linux
 
i am looking for for a version of 64-bit linux that will run from a CD or DVD without touching the hard drive
has anyone got any suggestions
i want this so i can use my athlon 64 as a 64bit cpu but we need 32bit windows

Mini-Geek 2008-04-21 11:12

At [URL]http://www.ubuntu.com/getubuntu/download[/URL] the normal download is a Live CD (what you describe)/installation CD (it's Live with a Install button). Just choose a 64-bit version from that screen.

henryzz 2008-06-25 16:47

i have now installed this and i am looking for 64bit linux executables for things that will be speeded up by using 64bit
does anyone have any suggestions on what will be helped by 64bit

ET_ 2008-06-25 17:24

[QUOTE=henryzz;136592]i have now installed this and i am looking for 64bit linux executables for things that will be speeded up by using 64bit
does anyone have any suggestions on what will be helped by 64bit[/QUOTE]

GMP-Fermat? (hint) :smile:

There is also a 64-bit linux version of mprime, but I don't know how improved for 64 bit this code is. Any benchmarkers out there?

Luigi

xilman 2008-06-25 18:07

[QUOTE=henryzz;136592]i have now installed this and i am looking for 64bit linux executables for things that will be speeded up by using 64bit
does anyone have any suggestions on what will be helped by 64bit[/QUOTE]Download the latest GMP sources and the latest GMP-ECM sources. Build both. Then run ECM to factor numbers of a class that you find interesting.


Paul

henryzz 2008-06-25 20:40

[quote=xilman;136594]Download the latest GMP sources and the latest GMP-ECM sources. Build both. Then run ECM to factor numbers of a class that you find interesting.


Paul[/quote]
i have tried building gmp-ecm 6.2.1 on it but failed because of missing libs
this is on a clean ubuntu 8 64bit installation
i actually decided to install rather than use a live cd
what packages do i need to install to compile it
i will post more info tomorrow as i am going to bed now
edit: if anyone has a 64bit gmpecm 6.2 binary could u please pm me

frmky 2008-06-26 02:11

[QUOTE=henryzz;136601]i have tried building gmp-ecm 6.2.1 on it but failed because of missing libs
[/QUOTE]

What's the error message? Copy & paste it here.

henryzz 2008-06-26 16:06

it is during ./configure
[code]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ecm configure 6.2.1, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = fredaUbuntu8
uname -m = x86_64
uname -r = 2.6.24-19-generic
uname -s = Linux
uname -v = #1 SMP Wed Jun 4 15:10:52 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2025: checking for a BSD-compatible install
configure:2081: result: /usr/bin/install -c
configure:2092: checking whether build environment is sane
configure:2135: result: yes
configure:2163: checking for a thread-safe mkdir -p
configure:2202: result: /bin/mkdir -p
configure:2215: checking for gawk
configure:2245: result: no
configure:2215: checking for mawk
configure:2231: found /usr/bin/mawk
configure:2242: result: mawk
configure:2253: checking whether make sets $(MAKE)
configure:2274: result: yes
configure:2471: checking build system type
configure:2489: result: x86_64-unknown-linux-gnu
configure:2511: checking host system type
configure:2526: result: x86_64-unknown-linux-gnu
configure:2633: checking for style of include used by make
configure:2661: result: GNU
configure:2731: checking for gcc
configure:2747: found /usr/bin/gcc
configure:2758: result: gcc
configure:2996: checking for C compiler version
configure:3003: gcc --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 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:3006: $? = 0
configure:3013: gcc -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:3016: $? = 0
configure:3023: gcc -V >&5
gcc: '-V' option must have argument
configure:3026: $? = 1
configure:3049: checking for C compiler default output file name
configure:3076: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3079: $? = 1
configure:3117: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "ecm"
| #define PACKAGE_TARNAME "ecm"
| #define PACKAGE_VERSION "6.2.1"
| #define PACKAGE_STRING "ecm 6.2.1"
| #define PACKAGE_BUGREPORT "ecm-discuss@lists.gforge.inria.fr"
| #define PACKAGE "ecm"
| #define VERSION "6.2.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3124: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_M4_set=
ac_cv_env_M4_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_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/david/Desktop/ecm-6.2.1/missing --run aclocal-1.10'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/david/Desktop/ecm-6.2.1/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/david/Desktop/ecm-6.2.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/david/Desktop/ecm-6.2.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/david/Desktop/ecm-6.2.1/missing --run automake-1.10'
AWK='mawk'
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ECM_FASTOBJ=''
EGREP=''
ENABLE_ASM_REDC_FALSE=''
ENABLE_ASM_REDC_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDADD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
M4=''
MAKEINFO='${SHELL} /home/david/Desktop/ecm-6.2.1/missing --run makeinfo'
MAKE_MANPAGE_FALSE=''
MAKE_MANPAGE_TRUE=''
MEMORY_DEBUG_FALSE=''
MEMORY_DEBUG_TRUE=''
OBJEXT=''
PACKAGE='ecm'
PACKAGE_BUGREPORT='ecm-discuss@lists.gforge.inria.fr'
PACKAGE_NAME='ecm'
PACKAGE_STRING='ecm 6.2.1'
PACKAGE_TARNAME='ecm'
PACKAGE_VERSION='6.2.1'
PATH_SEPARATOR=':'
POW_LIB=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='6.2.1'
WITH_GWNUM_FALSE=''
WITH_GWNUM_TRUE=''
XSLDIR=''
XSLTPROC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/david/Desktop/ecm-6.2.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "ecm"
#define PACKAGE_TARNAME "ecm"
#define PACKAGE_VERSION "6.2.1"
#define PACKAGE_STRING "ecm 6.2.1"
#define PACKAGE_BUGREPORT "ecm-discuss@lists.gforge.inria.fr"
#define PACKAGE "ecm"
#define VERSION "6.2.1"

configure: exit 77
[/code]it wont configure any program i have tried

xilman 2008-06-26 17:18

[QUOTE=henryzz;136669]it is during ./configure
[code]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ecm configure 6.2.1, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure

#

[SNIP]

configure:3124: error: C compiler cannot create executables
See `config.log' for more details.

[SNIP]

[/code]it wont configure any program i have tried[/QUOTE]I saw this one on my Gentoo system a while back. It's to do with a mis-installed or misconfigured gcc compiler.

Googling for "C compiler cannot create executables" (with the quotes) was enough to get me back on track. Running the same query just now turned up: [url]http://ubuntuforums.org/archive/index.php/t-17033.html[/url]

Good luck!

Paul

frmky 2008-06-26 17:49

Start with an
sudo apt-get install buildessential

That should get everything you need to get configure going.
Greg

henryzz 2008-06-26 19:11

[quote=xilman;136680]I saw this one on my Gentoo system a while back. It's to do with a mis-installed or misconfigured gcc compiler.

Googling for "C compiler cannot create executables" (with the quotes) was enough to get me back on track. Running the same query just now turned up: [URL]http://ubuntuforums.org/archive/index.php/t-17033.html[/URL]

Good luck!

Paul[/quote]
thanks for this
typing sudo apt-get install libc6-dev g++ gcc
was what solved it
for some reason buildessential could not be found in the list of packages
i have now found i dont have gmp
is there a simple apt-get command for installing this
i am going to try installing it now from the website


All times are UTC. The time now is 08:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.