qt vim doesn't build on kubuntu [closed] - qt

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been banging my head against a wall for a week trying to build qt vim from source on my Kubuntu 12-10 machine.
The build command I'm using is:
./configure --prefix=/usr/ --with-features=huge --with-vim-name=qvim --enable-gui=qt
Which gives me this error:
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... no
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
After much googling, the only solution I found was to have libncurses5-dev and ncurses5-dev installed, which I do. I also installed every generic ncurses dev lib in the apt repo, just to make sure. Alas, it generated the same error.
With all the above libraries installed, I tried the command with the tlib option:
./configure --prefix=/usr/ --with-features=huge --with-vim-name=qvim --enable-gui=qt --with-tlib=ncurses
Which generated this error:
checking --with-tlib argument... ncurses
checking for linking with ncurses library... configure: error: FAILED
I'm not sure what I'm doing wrong. Any help would be greatly appreciated. Thanks in advance!

try apt-get build-dep vim to install all build dependencies

Related

R Error During Forecast Package Installation after CUDA-9.1 Upgrade on Ubuntu 17.10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I was having difficulty running install.packages("forecast") after a new install of CUDA 9.1 on Ubuntu 17.10, with the error
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
I fixed this problem by first following instructions here running from command line
sudo ln -s /usr/bin/gcc-6 /usr/local/cuda/bin/gcc
I then got the error
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
This is due to GCC 6 not having a G++ to go with it. Simply install G++6 with:
sudo apt-get install g++-6

Rstudio cannot install devtools lib due to typo in a gcc link library filename. Where are link filenames kept? [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 5 years ago.
Improve this question
In Rstudio server on Ubuntu 16, the devtools package is failing to install because of package build failing. This has broad impact, and is a big headache because tons of other packages need devtools, and moreover, this particular misspelled library is needed for compiling by a lot of other numerical packages too.
We can see the problem is that gcc is being somehow passed a filename to link that has a simple typo in it. Where would be the config file that would contain the typo, so I can manually correct the spelling of the file? Do you see it below? (This is an excerpt of the output in Rstudio when you install the devtools package, which automatically runs the gcc program.) GCC is trying to link to the Gnu Scientific Library Basic Linear Algebra Subsystem:
gcc -std=gnu99 -shared -L/usr/lib/R/lib -L/usr/lib/x86_64-linux-gnu -lgsl -lglscblas -o mime.so rawmatch.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lglscblas
Of course the filename should say gsclblas (for GNU scientific library) not glscblas -- RStudio has got the letter L in the wrong position obviously. There is no such file as glscblas.*
So like I said, Where would be the config file that would contain the typo, so I can manually correct the spelling? I did not type in the misspelling: It came from rstudio or some other software installation.
Thank you so much for some good information about it, if you have some. So far this has been beyond my capability to find the file, despite searching with grep lots of ways, and digging in the Rstudio GUI, and searching on URLs like https://support.rstudio.com/hc/en-us/articles/205612627-Debugging-with-RStudio
This is almost always taken from the src/Makevars file of the package you trying to build. The devtools package has little to nothing to do with, as does RStudio. You would probably get the same error via R CMD INSTALL package_1.2-3.tar.gz.
Now, GitHub allows us to search code for all CRAN packages (as they are mirrored there) but I am unable to find this string.
Could you share with which package this was in order to move us a little closer to a minimally reproducible example?
The solution was to edit the file ~/.R/Makevars
That was the hard part really. Finding where it was. Next...
I simply completely removed the offending argument which contained the misspelt filename. The reason is this is OK is because BLAS libraries could speed up matrix math, but are generally optional not mandatory. Anyway I also have faster ones than GNU's.
Thanks for everyone who were trying to stay on topic and not get too ad-hominem here!

Can't enable dplyr and tidyr: libstdc++.so.6: version `GLIBCXX_3.4.21' not found [duplicate]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am trying to fix my problem "GLIBCXX_3.4.15" not found, which is fairly well documented to fix. But it requires getting the file "libstdc++.so.6.0.15" from somewhere.
Most of the solutions tell me to get it from the location that I compiled my c++ library from. However, I did not compile it, it came with my Ubuntu installation, and when I do "locate" for that file it is not found.
So, I would like to just download it from somewhere, but I can't find it on the web anywhere. I have tried to look in the svn repo: svn://gcc.gnu.org/svn/gcc, but was not able to find it (its huge!)
Any help much appreciated :)
Fodder
You shouldn't have to manually download this library, if you're on Ubuntu Linux, it should be shipped inside this package :
sudo apt-get install libstdc++6
If you already have libstdc++6, then the problem is elsewhere and you should explain what you're trying to achieve in the first place.
If you want a newer version of libstdc++6 than the one provided in the default package, then you can try to update to the toolchain test package :
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Otherwise you would have to compile GCC from source :
Install the prerequisite (using sudo apt-get build-dep gcc-4.7 as instance)
Get the source from GNU.org
Compile it using configure, make and make install
Just realized that was having the similar problem some time ago. Disclaimer: If you know what you are doing, check this repository - Index of /debian/pool/main/g/gcc-4.7. It must be in some of the packages available. Use Archive Manager to get inside.

centos install nginx error : requires libunwind.so.8()(64 bit) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I install nginx on centos 7 And met problem
Please help me
Message: 
Error:Package:gperftools-libs-2.4-5.el7.x86_64(epel)
Requires: libunwind.so.8()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I ran into the same problem today. #Nika Archvadze's answer fixed the problem for me, but it's been downvoted, I suppose because it's a bit sparse.
Anyway, probably a good idea to start with
yum update
then
yum install yum-utils
will install the yum-config-manager package.
then
yum-config-manager --enable cr
will enable the continuous release repository, which is probably already installed, but if not you can install it like this before enabling it
yum install centos-release-cr
Now you will have access to the libunwind package, which is in the continuous release repository, so you should just be able to
yum install nginx
without any problems
yum -y install yum-utils
yum-config-manager --enable cr
yum -y install nginx
The package is available in the Centos 7 Continuous Release (CR) Repository. once enable the cr repo able to complete the installation with out any issue.
Following is the command to enable the cr repository.
#yum-config-manager --enable cr
Source: https://ask.openstack.org/en/question/85814/juno-installation-error-returned-1-error-package-gperftools-libs-24-5el7x86_64-epel/

Install MinGW for SUSE Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Where do I get a link to install Qt with the MinGW cross compiler in Linux?
All you need is just three commands from you:
zypper ar http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.3/ mingw
zypper mr -r mingw # this makes the repository auto-refresh on next zypper operations
zypper install mingw32-libqt4-devel
change 11.3 to to the openSUSE version you have.
The dependencies for .exe compiled through that toolchain can be resolved by fetching .dll files from /usr/i686-pc-mingw32/sys-root/i686-pc-mingw32/bin/ directory.
Have a look at:
Building a Cross compiler for Windows on Linux
MinGW cross compiler for Linux build environment
Fedora 11 comes with the MinGW cross compiler (mingw32-gcc, mingw32-g++, etc.) and Win32 packages for Qt (mingw32-qt). You could try using Fedora instead of SUSE, or the packages may install on SUSE with a bit of coaxing.
There is no link. MinGW (Minimalist GNU for Windows) is platform specific and Windows-only. On SUSE, the required compiler GCC and all its dependencies should already be present, so MinGW is unneccessary there.
For Qt for Linux, head over to the Trolltech Download page.

Resources