Moderator: Andres Valverde
Tuvoc wrote:I would like to try this, but I have no clue about how to update/replace the existing installed version
matematiko wrote:
A good start will be to read the file INSTALL included with the distribution.
Hope it helps, regards!!!
H.G.Muller wrote:In principle updating should never be a problem: after downloading and unpacking the source tar ball, you can install it by giving the commands
./configure
sudo make install
(plus your password). That should do it.
The only case where you would have problems is when you already had a newer beta or experimental version installed that had options which the version you now try to install hasn't. In that case your previous version has saved these options in the .xboardrc file in your home directory, and the newly installed version will try to read that same file, and encounter the options it doesn't know. This makes it exit with an error message. You then have the choice to remove the .xboardrc file altogether (losing all your customized settings, and reverting to the installation defaults), or editing this file to remove all the lines with offending options.
F. Bluemers wrote:By the way,the fileselector sometimes behaves erratic.
Often I get the idea it interprets a single mouseclick as a double one,I
don't get to see all items in the folder and have to scroll several times up and down the list
before they appear.
tano-urayoan wrote:Hello I tried installing version Xboard version 4.5.1 using the above commands and I get this message after writing sudo make install: " make: *** No rule to make target `install'. Stop."
I am new to Linux and trying under Linux Mint 10.
H.G.Muller wrote:This is weird; it sounds like you have a defective Makefile. (The Makefile is supposed to be generated by ./configure, so perhaps that ended with an error message.)
Can you post the output you get on the ./configure + make commands?
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 for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for library containing strerror... none required
checking for flex... no
checking for lex... no
checking for remsh... no
checking for rsh... rsh
checking for makeinfo... no
Please install "makeinfo"
H.G.Muller wrote:Indeed, you obviously lack makeinfo. So trying
sudo apt-get install makeinfo
might be a good idea. You might get other errors during the configure when you get past that, of course.
sudo apt-get install makeinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package makeinfo
Tuvoc wrote:Tano,
A standard installl of Ubuntu (and therefore probably Mint too, since it is based on Unbuntu) lacks quite a few libraries/packages or whatever you call them. I installed on two machines at various times, and by looking at the error messages each time managed to figure it out. Compiling, installing and trying to make sense of the error messages is not that easy for a Linux beginner. Perseverance paid off for me but only after trial and error
Justin Blanchard wrote:A command worth trying is "sudo apt-get build-dep xboard"
This will install every package needed to build the version of xboard that Ubuntu offers. (That version is old, but will depend on mostly the same things.)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
tano-urayoan wrote:Hello Mr Blanchard I tried that and got this message: "
- Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
tano-urayoan wrote:One question if I install the debian package from here will I get all the necessary packages to install later version as 4.5 and laters?
Justin Blanchard wrote:
Oops. There's a preparatory step I forgot about. Instead of relying on that command, I'll just tell you myself what you'll need:
sudo apt-get install xaw3dg-dev libxaw7-dev texinfo flex
This will also fix the "X window system header files and libraries" you need. I'm not sure whether you'll need flex.
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c xboard '/usr/local/bin'
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
/usr/bin/install -c -m 644 xboard.conf '/usr/local/etc'
test -z "/usr/local/share/applications" || /bin/mkdir -p "/usr/local/share/applications"
/usr/bin/install -c -m 644 xboard.desktop '/usr/local/share/applications'
test -z "/usr/local/share/games/xboard/" || /bin/mkdir -p "/usr/local/share/games/xboard/"
/usr/bin/install -c -m 644 pixmaps/wood_d.xpm pixmaps/wood_l.xpm '/usr/local/share/games/xboard/'
test -z "/usr/local/share/icons/hicolor/48x48/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/48x48/apps"
/usr/bin/install -c -m 644 xboard.png '/usr/local/share/icons/hicolor/48x48/apps'
test -z "/usr/local/share/icons/hicolor/scalable/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/scalable/apps"
/usr/bin/install -c -m 644 xboard.svg '/usr/local/share/icons/hicolor/scalable/apps'
test -z "/usr/local/share/info" || /bin/mkdir -p "/usr/local/share/info"
/usr/bin/install -c -m 644 ./xboard.info '/usr/local/share/info'
install-info --info-dir='/usr/local/share/info' '/usr/local/share/info/xboard.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
test -z "/usr/local/share/man/man6" || /bin/mkdir -p "/usr/local/share/man/man6"
/usr/bin/install -c -m 644 'xboard.man' '/usr/local/share/man/man6/xboard.6'
make[1]: Leaving directory `/home/tano-urayoan/Downloads/xboard-4.5.1'
tano-urayoan wrote:What I am doing wrong now?
Return to Winboard and related Topics
Users browsing this forum: No registered users and 43 guests