Lazarus link failed on Linux Mint 18.3 Cinnamon - linux

I am new to Linux Mint, Lazarus and fpc.
I installed Linux Mint 18.3 Cinnamon and Lazarus v1.8.0, found it needed fpc and fpc-src, then installed fpc 3.0.4 and fpc-src 3.0.4, launched Lazarus without problem, then tried to run a simplest application in which there is only a blank form. It failed with a lot of "cannot find -l" error, fixed a few with "sudo apt-get install xxx" commands, but ther are still 4 of them:
gdk_pixbuf-2.0, gtk-x11-2.0, pango-1.0 and atk-1.0
where can I find these libraries?

I tried this and it worked for me:
1. Installed Synaptic package management tool
2. Used Synaptic to remove all fpc, fpc-source, fpc-src and Lazarus related packages(fp-xxx, lcl, etc.), used Complete Removal
3. Manually delete /usr/lib/fpc folder
4. Reinstall fpc, fpc-src and Lazarus in order

I had a similar issue with Lazarus and Linux Mint 18.3 just this week actually!
The solution I found was to go through the software manager, search for "pascal" and uninstall any Lazarus and FPC* related packages.
You could of course use apt from the shell or Synaptic as Bochen has already suggested but the Software Manager is what I used.
Then go to http://www.lazarus-ide.org and download the Debian DEB files.
The current version is at 1.8.0 and I installed them in the following order:
fpc_3.0.4-2_amd64.deb
fpc-src_3.0.4-2_amd64.deb
lazarus-project_1.8.0-1_amd64.deb
Hopefully, now, it should all work beautifully. That fixed the problems for me and is a newer version than what's currently available in the mint repositories.

Related

cygwin libxml2 outdated automake version

I'm using Cygwin, and I am really impressed with the enhanced functionality of my Windows pc! However, I ran into a problem.
In order to setup Magento 2 on my Windows 8.1 Home pc, I need a virtual machine. Therefore I want to install libvirt, an open-source package that seems pretty old. However,on a Windows Home pc, it seems the only option. For libvirt to work, I need to setup an older version of libxml2: 2.6.0. Libvirt would not work with libxml2 2.7.0.
Installing libxml2 version 2.6.0 calls an old version of automake (1.6.3), which is unable to recognize my Windows file system.
I have tried changing aclocal.m4, replacing 'automake 1.6.3' to 'automake 1.15.1', but that didn't work:
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.15.1"])
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.15.1])])
Is there a way to install the old libxml2 version (2.6.0) using a new version of automake?
p.s.: I hope I made my issue clear. I apologize for newbee errors in my writing.

Installing cairo for python 3.3 on redhat 6

I am trying to install pycairo 1.10 for Python 3.3 on redhat 6. There are no packages in the official repo, and when I try building it myself it says glibc is out of date. I have the latest glibc from the official the repo, and am somewhat hesitant to go on updating it through other means. Are there any other packages that can help, or is there some way to get this working with an older version (we have tried back to cairo 1.8).
redhat 6 is clearly out of date. Of course it can be done bringing rh6 up to date with downloading and compiling your own 3.x kernel with all what's needed to meet the requirments for pycairo 1.10....
BUT it would be easier and nicer to install a more modern Linux Distribution which goes nicely with an old computer. Linux Mint 16 (Petra) provides a distro with replaxed requirments and window managers in i386 mode.
I don't see any meaning in trying to get up to date code on such an old os version running. Every replacement hardware you can get hold on ebay will do better than that.
cheers,
Christian

Install MonoDevelop IDE for Redhat Linux

I am trying to install and configure MonoDevelop on my Oracle VM Virtual Box. The Operating System that running on the VM is RedHat Linux.
With the help of the below link, I have installed the mono-2.10.8 and also I was able to compile and run the sample c# source code on Linux through the shell.
Here
Now, I am trying to install or configure the IDE, please advise me for the good IDEs.
Thanks for your help
Installed Monodeveloper from the below link. I chose the Operating System as CentOS
MonoDevelop
This will also install mono-opt from the home:tpokorra repo
mono-opt is the latest stable version (3.6) on mono available from Mono Project
I found this way much easier for installing mono on redhat / centos 6

make-kpkg not working in Fedora 20

I have been working with Linux kernel, compiling and inserting modules, in my custom kernels. Previously I had Ubuntu where I had been working with my custom kernel and all the commands for compiling and installing kernel worked like a charm once I had installed all the required libraries.
Now I have switched over to Fedora 20, here I want to install my custom kernel and for that I downloaded all possible kernel tools, namely, Kernel Development Kernel Tools these are group installs and other libraries that I downloaded were ia32 libraries (as I am working on 64-bit OS), kernel-devel package. Still I am not able to work with make-kpkg command. It says bash: make-kpkg: command not found....
I googled out and did everything I could.
Can anyone get me out of this trouble?
make-kpkg is a Debian kernel packaging tool. It does not exist on RHEL family distributions, such as Fedora.
Please refer to the Fedora documentation page "Building a custom kernel" for the correct procedure. (I have not reproduced it here as it is rather long, and I'm not sure how far you may have gotten.)
The make-kpkg tool is part of the 'kernel-package' package on Debian systems. It is a Debian tool to produce debian package files. Ubuntu is based on Debian and has this tool. However, Fedora uses a different system to manage packages. So, make-kpkg would not be available on Fedora.

How to upgrade Qt installed in linux from one version to higher

While porting Qt project from windows to linux(ubuntu) i faced with the following issue:
on windows Qt version 4.8.1 is installed
on linux 4.6.3 in which some functionalities availiable in higer version 4.8.1 don`t yet implemented (ex. QUdpSocket::joinMultiCastGroup).
I see only one solution to this problem: upgrade Qt version on linux to 4.8.1.
How can I do this?
On linux I got installed libqt4-dev, qmake.
Solved: I changed repository from squeeze (stable) to wheezy(testing), in wheezy latest Qt version is 4.8.1, which is perfectly suits my needs.
Using package manager I found package libqt4-dev and selected it for update.
That is all, the whole process took 5 minutes.
Disadvantages:
- As I run Debian on Virtual Box after changing repository I had to reinstall guest additions
- wheezy is less stable than squeeze (I haven`t faced yet with stablilty problem)
I guess you can use Upgrade option in the Qt Creator.
Or you can download latest version from Download Qt, the cross-platform application framework
Or you could try to update using something like apt-get install(upgrade) libqt4-dev if you using Debian based system.
This depends on the distro you are using. If there are binary packages for your distro you can update through your package manager. Otherwise you have to download the source of your prefered Qt version and build it yourself.
I'm not sure if this will help in your situation, but you can download the Qt Online Installer at the following link:
https://www.qt.io/download-qt-installer

Resources