Include dcmtk header files after WSL ubuntu installation using apt-get install - dcmtk

this is a silly question, but I'm having trouble including DCMTK to use in a script after installing it on Ubuntu running on a windows computer using the WSL platform.
SOLUTION: I had a lot of trouble installing dcmtk and using the headers. It turned out apt install was not installing the header files. Installing from source was throwing compiler errors. I installed homebrew and was able to get it to work that way.
I was then able to include header files as you'd expect with:
#include "dcmtk/module/filename.h"

Related

how to install unixodbc on linux

I am trying to install unixodbc on linux (clean install of ubuntu 20), but the directions here are not working for me. When I get the step to ./configure , I get an error saying "configure: error: odbc_config not found (required for unixODBC build)".
Given that this is a popular package and the instructions on the main website don't work, I'm wondering if someone in that community could help me install it?
I tried installing it directly from a .deb file which appeared to work with 0 exit status, but I am still getting an error when I try to run odbc_config, which is how they say to verify the installation. And which unixodbc returns nothing.
Any help installing this package on linux would be greatly appreciated!
Note: On mac, brew install unixodbc works just fine. But I am running into problems when using the compiled binaries from that installation on a linux machine -- it is giving me a mysterious file not found error when I try to reference it, even though it is there, so I believe I need to compile it on linux in order to get it to work.
EDIT: I tried installing from source, but then I got a different error: libpq library version = 9.2 is required. Is there any way to install this package on ubuntu without having to set all kinds of special flags?
EDIT2: I was able to get the installation process to complete after installing libpq-dev.

Installing Chez Scheme 9.4 on Linux Mint LMDE

I am trying to install Chez Scheme 9.4 on a Linux Mint LMDE system. Chez Scheme requires GNU make, gcc, header files and libraries for ncurses, and header files and libraries for X windows.
I successfully installed ncurses with the command sudo apt-get install ncurses-dev, and I have a directory /etc/X11 with lots of stuff in it. Per the Chez Scheme BUILDING file I ran ./configure, which worked properly, then sudo make install, which failed with error X11/Xlib.h: No such file or directory.
I'm not familiar with X windows. Can someone please tell me exactly what packages I need to install to have the required X windows header files and libraries?
I installed sudo apt-get install libx11-dev and the compile completed successfully.

System crash after oracle installation with yum

recently i tried to install oracle on my linux with apt (I never used yum before) using fast manual:
http://www.oracle.com/technetwork/articles/servers-storage-admin/ginnydbinstallonlinux-488779.html
And after command:
sudo yum install oracle-rdbms-server-11gR2-preinstall
I got error:
Failed: ca-certificates.noarch 0:2010.63-3.el6_1.5 chkconfig.x86_64 0:1.3.49.3-2.el6 file-libs.x86_64 0:5.04-15.el6 filesystem.x86_64 0:2.4.30-3.el6
initscripts.x86_64 0:9.03.38-1.0.1.el6_4.2
Complete!
And something gone wrong because command like: ps, top are crashing
login#Ass-K55VJ:/etc/yum/repos.d$ ps -e
ps: relocation error: ps: symbol procps_number_version, version _3_2_5 not defined in file libproc-3.2.8.so with link time reference
login#Ass-K55VJ:/etc/yum/repos.d$ top
Segmentation fault (core dumped)
then I tryied to uninstall oracle and dependencies but after command:
sudo yum remove oracle-rdbms-server-11gR2-preinstall
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jul 10 2013, 06:42:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
So it seems like yum install in my system new libraries but didn't link it correctly? I dont know what do in this moment because it seems like armagedon on my ubuntu...
Does this mean you're on ubuntu and tried to install rpm packages using yum? The manual you used is for Oracle Linux 6, why would you try that on ubuntu?
rpm packages are not compatible with debian based systems like ubuntu, which use deb packages. So you've probably screwed your system big time, overwriting important system libraries with incompatible ones.
If apt-get is still working, then you can try to reinstall (apt-get --reinstall install) the equivalent libraries to the ones mentioned in the install manual you linked to - naming isn't always the same for rpm and deb packages. dpkg -l should help you see which the correct installed libraries are. I'd start with the C libraries (libc) etc.
But if apt-get is screwed also, then you'd need to download the packages manually from an ubuntu mirror and install them using dpkg, but I think a reinstall (or restore from backup if you have one) would be the best option.

error when trying to install libtmcg "configure: error: libgmp >= 4.1 is needed"

I've tried installing different libgmp's from ubuntu app center and I tried installing it manually from http://gmplib.org/#DOWNLOAD but I can't get this to configure it's an old library and I'm trying to run it on the latest version of ubuntu but I didn't think I'd have problems but I'm new to trying to use libraries like this any help would be greatly appreciated.
I've had these kind of errors installing dependencies before, and I realized that you must to force the installation of such pack having it... you didn't mention the version of your Ubuntu, so I'm assuming you're working with 12.10. But if not you always can look up for the version you are running on.
Just download the pack from here, of course, depending on your architecture, and after that run sudo apt-get -f install in order to force the installation of broken packs.

How to install libmysql under Cygwin?

I am trying to build db-mysql extension for NodeJS under Cygwin. The problem is, that it requires libmysql development libraries and include files. I have no idea how to install (and where to get) this stuff to work with Cygwin. Under Ubuntu i would write something like this:
sudo apt-get install libmysqlclient-dev
But this is not possible under Cygwin. Also there is no available libmysql package when I run Cygwin's setup.exe. Does anybody know how to solve this isue?
I have installed wamp under Windows which includes MySQL database. I would like to use databases from that installation under Cygwin, is that possible?
Thanks
It's available from Cygwin Ports, a large repository of additional Cygwin packages that can be installed through Cygwin's setup.exe.

Resources