LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2016, 07:14 AM   #1
Brant
Member
 
Registered: Oct 2007
Posts: 281

Rep: Reputation: 35
difficulty installing Gnucash 2.6.14 from a tarball


I wish to install Gnucash, and would like to use the latest version, rather than that available through the Software Manager. I am running Linux Mint 17.3 Cinnamon.

This is partly because I tried Gnucash once before, had difficulties, and am hoping that a later version might be better (the difficulties were probably all mine, but hope springs eternal) but mostly because I would like to understand the process of installing from a tarball.

I attempted to follow the description I found here:
https://www.maketecheasier.com/insta...ball-in-linux/

(note: again, any difficulties I've encountered I am sure were of my own making)

I downloaded gnucash-2.6.14.tar.bz2
I created a folder named "gnucash", transferred the tarball there and extracted it (so that I then had a folder named "gnucash-2.6.14" sitting beside the original tarball.
I then entered in the terminal the following:

./configure /home/brant/gnucash/gnucash-2.6.14

but received the message "./configure: No such file or directory.

I am sure the error, or errors, are obvious, but what?
 
Old 10-19-2016, 07:59 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
When installing tarballs like this the "configure" command you're using is typically just a script included with the tarball. (That is to say there isn't a system wide "configure" command [usually]).

Do:
cd /home/brant/gnucash/gnucash-2.6.14
./configure

Also do any make commands inside that directory after the configure. Be sure to look at what the configure tells you as there may be other packages it asks you to install. If so you just rerun configure after you've addressed such dependencies.
 
1 members found this post helpful.
Old 10-19-2016, 10:11 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
or just cd into that that directory then run just ./configure

Last edited by BW-userx; 10-19-2016 at 10:12 AM.
 
Old 10-19-2016, 10:29 AM   #4
Brant
Member
 
Registered: Oct 2007
Posts: 281

Original Poster
Rep: Reputation: 35
and so:

brant@brant-HP-Compaq-dc5100-MT-PZ583UA ~ $ cd /home/brant/gnucash/gnucash-2.6.14
brant@brant-HP-Compaq-dc5100-MT-PZ583UA ~/gnucash/gnucash-2.6.14 $ ./configure
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/brant/gnucash/gnucash-2.6.14':
configure: error: C compiler cannot create executables
See `config.log' for more details

"config.log" contains:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GnuCash configure 2.6.14, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure

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

hostname = brant-HP-Compaq-dc5100-MT-PZ583UA
uname -m = i686
uname -r = 3.13.0-24-generic
uname -s = Linux
uname -v = #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014

/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
PATH: /usr/local/games


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

configure:2768: checking for a BSD-compatible install
configure:2836: result: /usr/bin/install -c
configure:2847: checking whether build environment is sane
configure:2902: result: yes
configure:3053: checking for a thread-safe mkdir -p
configure:3092: result: /bin/mkdir -p
configure:3099: checking for gawk
configure:3115: found /usr/bin/gawk
configure:3126: result: gawk
configure:3137: checking whether make sets $(MAKE)
configure:3159: result: yes
configure:3188: checking whether make supports nested variables
configure:3205: result: yes
configure:3401: checking for gcc
configure:3417: found /usr/bin/gcc
configure:3428: result: gcc
configure:3657: checking for C compiler version
configure:3666: gcc --version >&5
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 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:3677: $? = 0
configure:3666: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configure:3677: $? = 0
configure:3666: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3677: $? = 4
configure:3666: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3677: $? = 4
configure:3697: checking whether the C compiler works
configure:3719: gcc conftest.c >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3723: $? = 1
configure:3761: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.14"
| #define PACKAGE_STRING "GnuCash 2.6.14"
| #define PACKAGE_BUGREPORT "gnucash-devel@gnucash.org"
| #define PACKAGE_URL ""
| #define PACKAGE "gnucash"
| #define VERSION "2.6.14"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3766: error: in `/home/brant/gnucash/gnucash-2.6.14':
configure:3768: error: C compiler cannot create executables
See `config.log' for more details

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

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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PYTHON_VERSION_set=
ac_cv_env_PYTHON_VERSION_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_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_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

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

ACLOCAL='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing aclocal-1.14'
ALL_LINGUAS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AQBANKING_CFLAGS=''
AQBANKING_LIBS=''
AR=''
AS=''
AUTOCONF='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing autoconf'
AUTOHEADER='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing autoheader'
AUTOMAKE='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing automake-1.14'
AWK='gawk'
AX_SWIG_PYTHON_CPPFLAGS=''
AX_SWIG_PYTHON_OPT=''
BINRELOC_CFLAGS=''
BINRELOC_LIBS=''
BUILDING_FROM_VCS_FALSE=''
BUILDING_FROM_VCS_TRUE=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CLANG_FALSE=''
CLANG_TRUE=''
CPP=''
CPPFLAGS=''
CUSTOM_GNC_DBD_DIR_FALSE=''
CUSTOM_GNC_DBD_DIR_TRUE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DL_LIB=''
DOC_FALSE=''
DOC_TRUE=''
DOT=''
DOXYGEN=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EFENCE_LIBS=''
EGREP=''
ENABLE_DOXYGEN_FALSE=''
ENABLE_DOXYGEN_TRUE=''
EXEEXT=''
FGREP=''
GDK_PIXBUF_CFLAGS=''
GDK_PIXBUF_LIBS=''
GETTEXT_PACKAGE=''
GIT_CMD=''
GLIB_CFLAGS=''
GLIB_COMPILE_SCHEMAS=''
GLIB_LIBS=''
GMOFILES=''
GMSGFMT=''
GNC_ACCOUNTS_DIR=''
GNC_CHECKS_DIR=''
GNC_CONFIGDIR=''
GNC_CTAGS_FILE=''
GNC_CTAGS_FILE_FALSE=''
GNC_CTAGS_FILE_TRUE=''
GNC_DBD_DIR=''
GNC_DOC_INSTALL_DIR=''
GNC_ETAGS_FILE=''
GNC_ETAGS_FILE_FALSE=''
GNC_ETAGS_FILE_TRUE=''
GNC_GTKBUILDER_DIR=''
GNC_HAVE_GUILE_2_FALSE=''
GNC_HAVE_GUILE_2_TRUE=''
GNC_HELPDIR=''
GNC_INCLUDE_DIR=''
GNC_LIBEXECDIR=''
GNC_PIXMAP_DIR=''
GNC_SCM_INSTALL_DIR=''
GNC_SHAREDIR=''
GNC_SYSTEM_XDG_DATA_DIRS=''
GNC_UI_DIR=''
GNOMECANVAS_CFLAGS=''
GNOMECANVAS_LIBS=''
GNOME_KEYRING_CFLAGS=''
GNOME_KEYRING_LIBS=''
GNUCASH_ENABLE_GUI_FALSE=''
GNUCASH_ENABLE_GUI_TRUE=''
GNUCASH_LATEST_STABLE_SERIES='2.6'
GNUCASH_MAJOR_VERSION='2'
GNUCASH_MICRO_VERSION='14'
GNUCASH_MINOR_VERSION='6'
GNUCASH_NANO_VERSION='0'
GNUCASH_SEPARATE_BUILDDIR_FALSE=''
GNUCASH_SEPARATE_BUILDDIR_TRUE=''
GOFFICE_CFLAGS=''
GOFFICE_LIBS=''
GREP=''
GSETTINGS_DISABLE_SCHEMAS_COMPILE=''
GSETTINGS_RULES=''
GTKMM_CFLAGS=''
GTKMM_LIBS=''
GTK_CFLAGS=''
GTK_LIBS=''
GTK_MAC_CFLAGS=''
GTK_MAC_LIBS=''
GUILD=''
GUILE=''
GUILE_CFLAGS=''
GUILE_EFFECTIVE_VERSION=''
GUILE_LIBS=''
GWENGUI_GTK2_CFLAGS=''
GWENGUI_GTK2_LIBS=''
HAVE_X11_XLIB_H_FALSE=''
HAVE_X11_XLIB_H_TRUE=''
HTMLHELP_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_V_MERGE=''
INTLTOOL_V_MERGE_OPTIONS=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
INTLTOOL__v_MERGE_0=''
INTLTOOL__v_MERGE_=''
LC_MESSAGES_ENUM=''
LD=''
LDFLAGS=''
LIBDBI_LIBS=''
LIBOBJS=''
LIBOBJS_SEDSCRIPT=''
LIBOFX_CFLAGS=''
LIBOFX_LIBS=''
LIBQOF_LIBRARY_VERSION=''
LIBS=''
LIBSECRET_CFLAGS=''
LIBSECRET_LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIBXML2_CFLAGS=''
LIBXML2_LIBS=''
LIBXSLT_CFLAGS=''
LIBXSLT_LIBS=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OS_WIN32_FALSE=''
OS_WIN32_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='gnucash'
PACKAGE_BUGREPORT='gnucash-devel@gnucash.org'
PACKAGE_NAME='GnuCash'
PACKAGE_STRING='GnuCash 2.6.14'
PACKAGE_TARNAME='gnucash'
PACKAGE_URL=''
PACKAGE_VERSION='2.6.14'
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PLATFORM_LINUX_FALSE=''
PLATFORM_LINUX_TRUE=''
PLATFORM_OSX_FALSE=''
PLATFORM_OSX_QUARTZ_FALSE=''
PLATFORM_OSX_QUARTZ_TRUE=''
PLATFORM_OSX_TRUE=''
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PYTHON=''
PYTHON_CPPFLAGS=''
PYTHON_EXEC_PREFIX=''
PYTHON_EXTRA_LDFLAGS=''
PYTHON_EXTRA_LIBS=''
PYTHON_LDFLAGS=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_SITE_PKG=''
PYTHON_VERSION=''
QOF_CFLAGS=''
QOF_LIBS=''
RANLIB=''
RC=''
REGEX_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
SWIG=''
SWIG_DIST_FAIL_FALSE=''
SWIG_DIST_FAIL_TRUE=''
SWIG_LIB=''
TEST_MYSQL_URL=''
TEST_PGSQL_URL=''
USE_NLS=''
VCS_TYPE=''
VERSION='2.6.14'
WEBKIT_CFLAGS=''
WEBKIT_LIBS=''
WITH_AQBANKING_FALSE=''
WITH_AQBANKING_TRUE=''
WITH_DBI_FALSE=''
WITH_DBI_TRUE=''
WITH_GTKMM_FALSE=''
WITH_GTKMM_TRUE=''
WITH_OFX_FALSE=''
WITH_OFX_TRUE=''
WITH_PYTHON_FALSE=''
WITH_PYTHON_TRUE=''
XGETTEXT=''
XSLTPROC=''
ZLIB_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
cflags_set=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_dot=''
enable_html_docs=''
enable_latex_docs=''
exec_prefix='NONE'
gsettingsschemadir=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/brant/gnucash/gnucash-2.6.14/install-sh'
intltool__v_merge_options_0=''
intltool__v_merge_options_=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

MIGRATABLE_PREFS_AQBANKING=''
MIGRATABLE_PREFS_OFX=''

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

/* confdefs.h */
#define PACKAGE_NAME "GnuCash"
#define PACKAGE_TARNAME "gnucash"
#define PACKAGE_VERSION "2.6.14"
#define PACKAGE_STRING "GnuCash 2.6.14"
#define PACKAGE_BUGREPORT "gnucash-devel@gnucash.org"
#define PACKAGE_URL ""
#define PACKAGE "gnucash"
#define VERSION "2.6.14"

configure: exit 77

so what should I do with it?
 
Old 10-19-2016, 10:32 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
it is best to just run ./configure then if you see any errors use what it is telling you to fix it, if it is an error 'cannot find...' usually it is because you do not have it installed, install whatever it is it cannot find then run ./configure again then go from there.

dependencies requires the developer files, header files, -> devel or dev packages to be installed so it can compile properly

first time using ./configure make sudo make install huh?

best to just run it then use the errors to help you work out any dependinise you are missing, if no errors, then go to next step, which is - make - if no errors then go to next step, #make install (as root on the last step)

Last edited by BW-userx; 10-19-2016 at 10:38 AM.
 
1 members found this post helpful.
Old 10-19-2016, 11:27 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
The problem seems obvious: your compiler doesn't work! There are a lot of complaints, but one sums it up:
error: C compiler cannot create executables
I don't know enough to decide whether you've just got an incompatibility or whether the copy of gcc you have has a bug in it. You could see if Ubuntu has an update for your compiler or you could install a precompiled version of gnucash from an unofficial repository as explained here
http://wiki.gnucash.org/wiki/Ubuntu
 
Old 10-19-2016, 11:36 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Code:
configure:3697: checking whether the C compiler works
configure:3719: gcc conftest.c >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3723: $? = 1
configure:3761: result: no
missing object files. libc*.*-dev try installing that

you are missing these too
Code:
AUTOCONF='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing autoconf'
AUTOHEADER='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing autoheader'
AUTOMAKE='${SHELL} /home/brant/gnucash/gnucash-2.6.14/missing automake-1.14'
installing autoconf and automake usually takes care of all of that.

installing what is usually needed to compile and install from source.

gcc
gcc-c++
make
autoconf
automake
patch : just in case you get into patching sources.

you should have this running Ubunutututututu
Code:
 
sudo apt-get install build-essential
then run ./configure again and see what happens.

Last edited by BW-userx; 10-19-2016 at 12:03 PM.
 
1 members found this post helpful.
Old 10-19-2016, 02:03 PM   #8
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by BW-userx View Post
or just cd into that that directory then run just ./configure
Isn't that what I said?
 
Old 10-19-2016, 02:16 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by MensaWater View Post
Isn't that what I said?
I donnot but aaahhhhh it has gone wwaaaayyyyyy past that point....
 
Old 10-20-2016, 10:31 AM   #10
Brant
Member
 
Registered: Oct 2007
Posts: 281

Original Poster
Rep: Reputation: 35
I followed the advice found above. After the terminal did its thing, it informed me that I was short a dependency, which I installed, whereupon it told me I was short another, which I installed; this went on some time, but finally I ran "make".

This ended in a long series of messages; here is the last few lines:

make[3]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/accounts/zh_TW'
make[3]: Entering directory `/home/brant/gnucash/gnucash-2.6.14/accounts'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/accounts'
make[2]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/accounts'
Making all in checks
make[2]: Entering directory `/home/brant/gnucash/gnucash-2.6.14/checks'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/checks'
make[1]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14'

All these messages ended in "Nothing to be done for '&'". Is this good news or not? Does it mean "Nothing needs to be done" or "Nothing could be done"?

Before I run "sudo make install" I thought I should ask!
 
Old 10-20-2016, 11:02 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Brant View Post
I followed the advice found above. After the terminal did its thing, it informed me that I was short a dependency, which I installed, whereupon it told me I was short another, which I installed; this went on some time, but finally I ran "make".

This ended in a long series of messages; here is the last few lines:

make[3]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/accounts/zh_TW'
make[3]: Entering directory `/home/brant/gnucash/gnucash-2.6.14/accounts'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/accounts'
make[2]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/accounts'
Making all in checks
make[2]: Entering directory `/home/brant/gnucash/gnucash-2.6.14/checks'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14/checks'
make[1]: Leaving directory `/home/brant/gnucash/gnucash-2.6.14'

All these messages ended in "Nothing to be done for '&'". Is this good news or not? Does it mean "Nothing needs to be done" or "Nothing could be done"?

Before I run "sudo make install" I thought I should ask!
yep

good job you got your dependencies using the messages.

next step is sudo make install

if you do not see it in the menu list you can run it off the command line. Just using its name keeps in running within the terminal allowing to to kill it easily but just killing the terminal, or you can run it programName & separating from the terminal.

if it does not show up in the menu list all you need to do is create a desktop file for it. you can use one in /usr/share/applications just replace the information in it with that programs name and location and what not. I think you can do it!!!!! cheers
 
Old 10-20-2016, 12:42 PM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Brant View Post
Code:
configure: error: C compiler cannot create executables
Please consider using [code][/code] around blocks of large textual outputs here. Thank you.

Code:
sudo apt-get install build-essential
and then try ./configure again in that same directory.
It's quite a list depending on your system as-is, but ./configure should work after they are installed.
 
Old 10-20-2016, 03:15 PM   #13
Brant
Member
 
Registered: Oct 2007
Posts: 281

Original Poster
Rep: Reputation: 35
"sudo make install" seemed to deliver.
Unfortunately Gnucash refused to open. . .
After a certain amount of keening, I looked in Software Manager and installed "gnucash-dbg" which seemed to do the trick.
Now comes the boring rote work of setting up a chart of accounts.
Many thanks for all the comments!
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Help installing GNUCash Laxman_prodigy Slackware 5 11-26-2012 02:30 AM
Installing tarball badgee601 Linux - Newbie 11 02-24-2012 11:36 PM
Installing Tarball? gael33 Linux - Newbie 5 04-24-2009 03:08 AM
Help installing gnucash please... __spc__ Linux - Software 5 05-21-2006 02:04 AM
Need help Installing a Tarball little_penguin Linux - Software 6 02-12-2005 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration