General :: Compiling WxWidgets On Ubuntu 9.04?
Jul 28, 2009
I did fine with Ubuntu 9.04 for a month and then things went wrong and I could no longer compile programs though others on the same distro could so I reinstalled Ubuntu 9.04.First step is to compile wxWidgets. Before this was automatic sudo make install libgtk2.0-dev, download wxGTK from wxWidgets then compile and make wxWidgets.Now I can't even do that, I get make errors every time and as soon as I resolve one. another shows. Widgets version 2-8-10 is the same as before. Does anyone know a current address for a tutorial getting widgets to compile with Ubuntu, I don't know whether to ask you, Ubuntu or Widgets (or understand what went wrong with Ubuntu in the first place.
View 6 Replies
ADVERTISEMENT
May 28, 2010
Code:
g++ hworld.cpp `wx-config --libs` `wx-config --cxxflags` -o hworld
hworld.cpp:5:20: error: wx/wx.h: No such file or directory
(snip)
I looked at other topics with similar problems and I have both wxGTK and wxGTK-devel installed. I'm pretty sure the method of compiling is correct.
View 4 Replies
View Related
Jan 24, 2011
I need to download wxWidgets 2.4.2 but can't find it anywhere on the net. Yes I know it is extremely old, but sometimes old packages are better than new ones. Or 2.4.5. Its a real pain because I know there are security risks associated with old widgets but the programs I want to run only run on widgets 2.4.
View 3 Replies
View Related
May 5, 2010
I have tried using cairo-dock but not much impressed as its more flashy(installation was very easy ), Today i tried installing simdock which is showing me some error like. checking for wx-config... no configure: error:wxWidgets must be installed on your system. check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.8.0 or above "How to get thru this problem.
View 1 Replies
View Related
Mar 1, 2010
XMMS2, with the crossfade plugin will play gapless...assuming it will play at all. Sometimes I can get it to work when I end pulseaudio, and sometimes not. And now it's just not working at all. Audacious has a crossfade plugin that I'm informed works with gapless...but as soon as I install the plugin, audacious just stops working. MOC claims to have gapless support, but now that I've (supposedly) successfully installed it, I am buggered if I can find it on my computer.
Guayadeque, which I found out about in the last ten minutes, is said to work with gapless, but having followed the detailed instructions on how to install it, I cannot get it to install. I keep getting some crap about "wxWidgets not found" Rhythmbox is claimed to have gapless support. It doesn't. Exaile is supposed to have some kind of gapless/crossfade thing, but it doesn't seem to do anything at all.
Aqualung will do gapless, and at a pinch I'll use it, but if I want to skip to the next track or adjust the volume, at least fifteen seconds will elapse between me telling it to do something, and it doing what it's bloody well told!
View 9 Replies
View Related
Sep 24, 2010
I want to run the development version of the game Battle for Wesnoth, but I'm having some problems compiling it...I downloaded the latest version (1.9.1) and followed the installation instructions;
cd /usr/src
sudo tar -xvjf wesnoth-1.9.1.tar.bz2
cd wesnoth-1.9.1
sudo ./configure --datadir=/usr/share/games/wesnoth/
I managed to get to this point, after some small problems, but 'configure' told me I needed SDL.I installed SDL (libsdl1.2-dev) using the Software Center, but now it sais;
Code:
checking for SDL - version >= 1.2.7 and SDL_ttf - version >= 2.0.8... no
configure: error: *** Please upgrade your SDL and/or SDL_ttf version
The version that was installed seems to be 1.2.14 I also looked for sdl-ttf, and that was also already installed (version 2.0.9)
View 11 Replies
View Related
Jun 14, 2010
I see references to compiling, but as a newbie am unclear about it. What is compiling, when do you need to do it, and how do you do it?
View 10 Replies
View Related
Aug 19, 2010
I am new to C programming and I need a way to compile and run my code. I've made a little research and I found that eclipse is a nice IDE. But I don't know how to configure it and generally. What do I need to download and install to make it work. I've also tried downloading easy eclipse that doesn't need any configuration or extra files but the link on the site was broken. Is there any other C IDE like easy eclipse available?
View 5 Replies
View Related
May 27, 2010
I am using Fedora 11 (2.6.30.10-105.2.23.fc11.i686.PAE). I got a patch for tpm_tis.c which a module to get my itpm working. And, for this I thought to customise the existing kernel and install new one.
So, I followed the foolowing steps:
In 'make menuconfig' , I have disabled Kernel debugging in the Kernel hacking section.
Then changed EXTRAVERSION to something like .test in Makefile
And, My Idea is to follow these steps:
View 1 Replies
View Related
Apr 19, 2011
Trying to compile Inkscape 0.48.1 on Red Hat Enterprise Linux Server release 5.5 and I am running into this issue
Code:
checking for Python development environment... skipped
checking for LCMS... yes
checking for POPPLER... no
checking for POPPLER_GFXFONT... no
[Code]...
View 5 Replies
View Related
Jul 22, 2011
I googled around but most of what I could find said that segfaults are generally a memory issue. I've noticed lately that I'll occasionally get a segfault while compiling on my computer. There's no noticeable pattern, just that every now and then a bit of software that I'm trying to compile will segfault on me, even software that I've compiled in the past.
I ran memtest86+, but it showed no issues at all. I run a stock kernel on Slackware, with no modifications to the system other than installing multilib support (which I'm 100% sure is done correctly).
View 6 Replies
View Related
Jul 1, 2011
I am working on a university workstation and need to use an old version of gcc (either 4.0 or 4.1) and am currently using 4.4.2. I do not have admin rights nor can I get them so using aptitude is out of the question. I was told I should compile the old version with the current one. I am very new to this sort of thing and haven't a clue what to do or how to go about compiling my program once I have gotten the older version.
View 2 Replies
View Related
Feb 24, 2010
I am trying to compile older version of kernel 2.6.23.4 on my fedora 11.
I am following below steps:
1)make menuconfig
2)make bzImage
3)make modules
4)make modules_install
5)make install
Kernel is compiling. After doing make modules_install it says:
My grub.config looks like:
But after that the cursor only blinks nothing happens.
View 5 Replies
View Related
Apr 13, 2010
I have downloaded the newest most stable Linux kernel, 2.6.33.2. I thought I would test this using VirtualBox. So I create a dynamically sized hard disk of 4 GB. And installed CentOS 5.3 with just the minimum packages, just the development libs and development tools. I unzipped in the /usr/src directory. I setup the make menuconfig with just the default settings.
After that I ran make and got the following error:
Code:
net/bluetooth/hci_sysfs.o: final close failed: No space left on device
make[2]: *** [net/bluetooth/hci_sysfs.o] Error 1
make[1]: *** [net/bluetooth] Error 2
make: *** [net] Error 2
The amount of space I have left is after it give that error is:
Code:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.3G 3.3G 0 100% /
/dev/hda1 99M 12M 82M 13% /boot
tmpfs 125M 0 125M 0% /dev/shm
So my virtual harddisk size is 4gb and the actual size if 3.5gb. So what happened to the other 500mb? How much size should I give when compiling and installing a Linux kernel? Are there any guidelines to follow when doing this? This is my first time, so just experimenting with this.
View 1 Replies
View Related
Jun 24, 2010
I am trying to study gtk programming and get stucked before some errors in compiling them. Iam using ubuntu 9.10 and i didnt installed any additional libraries or packages for running these gtk programs assuming gtk is already installed in ubuntu. I am newbie to gtk I tried compiling some example programs from my tutorial and it ended up in errors. So do I need any additional packages to run these programs.when compiling it shows package config cannot find any gtk+-2.0 packages and to try specifying .pc in environment path. I don't know how to set these path stuff.
View 1 Replies
View Related
Jan 4, 2010
I'm currently using Fedora 12 with kernel 2.6.31.9 and I was trying to upgrade to 2.6.32.2. These are the steps I followed. After rebooting and choosing this kernel from the Grub menu, I'm just greeted with a black screen with a blinking cursor and it won't proceed beyond that.
These are the commands I issued. I received an error on the first make modules about the mismatch. I then ran CONFIG_DEBUG_SECTION_MISMATCH=y and once finished I ran make modules again and it completed successfully.
Code:
Downloaded kernel package 2.6.32.2 from www.kernel.org
untar archive
make menuconfig (no changes made, saved config file)
make
[Code]...
View 9 Replies
View Related
Apr 26, 2010
i have a telnet client src rpm. I need to make some changes in the src and recompile it. i am having problems recompiling src rpm
View 5 Replies
View Related
Oct 14, 2010
New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:
Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2
Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.
View 14 Replies
View Related
Jan 25, 2010
I'm trying to compile liarliar-0.5.2, a VSA app in my netbook (Acer Aspire One D150 10", intel atom N280 (Hyper Threading Enabled), 2GB Corsair RAM, Fedora 12 with KDE 4.3.4 up to date as of today 26 January. This is what I get when executing ./configure:
[...]
checking for pkg-config... /usr/bin/pkg-config
checking for gtkmm-2.0 gthread-2.0 gstreamer-0.6... Package gtkmm-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtkmm-
[code]....
how do I set up the PKG_CONFIG_PATH env variable in order to fix this? I even have a clue of what a "nonstandard prefix" is.
View 12 Replies
View Related
Apr 15, 2010
I wonder if there is an easy way to accomplish the following: I made a tool and part of it needs to be compiled. It would be easy if I can automate compilation for multiple platforms (x86 / x86_64 / RHEL / SLES / Ubuntu). Is there a way to do this automated on a single host? Or should I set up an os for each distro? Also is there a way to generate RPM and deb files also on the same host without having to edit the meta files each time a version changes?
View 11 Replies
View Related
Jun 6, 2010
Can you give me some advantages of Recompilation of New Linux Kernel and Installations.
make xconfig modules modules_install install
this is what i`m talking on. can someone provide me the basic needs and Advantages?
View 2 Replies
View Related
Jun 19, 2010
Where is the best path to install all files of package when compiling?
For example - I want to install ProFTPd, so there's an option
--prefix=/usr/local/proftpd
, which means, that all files after compilation (including binary and configuration files) will be stored here. As you know, all packages, which are installed via package system (like zypper on SuSE or apt on Ubuntu) usually stores its configuration files in /etc/ and binary files in /sbin/ and also stores a link in my $PATH, so i can run in just by typing proftpd (without /sbin).
The huge advantage of packages installed via package system, i think, is easy uninstall process. I'd like to be able to uninstall compiled packages also easy.
I think i could be able to create some batch file, which I'll be able to use like this:
uninstall --package=proftpd
And my script will find all proftpd files in usuall paths (/etc, /sbin) and remove it using rm.
Is there any best practices, where to store all these files, or are there any (dis)advantages of my first example (--prefix=/usr/local/proftpd)?
I really don't think, that it's nice to have 2 paths with configuration files and binary files, but maybe I'm misunderstanding the basic principals of Linux... :-)
View 4 Replies
View Related
Aug 22, 2011
When I compile a LaTeX document in the terminal like so:
latex document.tex
How do I then abort the process? Ctrl-C doesn't work.
View 2 Replies
View Related
Jul 22, 2010
I have synology nas box DS710+ that has intel atom processor inside. i've installed ubuntu under virtual box, downloaded needed toolchain for x86 processors, and decided to cross-compile openvpn.
I 've started from compiling lzo library, but first question that appeared in my head - how i have to move all compiled binaries to my synology?
1. configure - okay
2. make - okay
3. make install - this is not necessary?
Will --prefix parameter helps me? or do i have to use chroot? cause there is a plenty amount of files that i need to move to my synology.
View 2 Replies
View Related
Jan 11, 2010
So I have compiled from source a libgsf debian package. However when I go to install it dpkg complains that "libgsf depends on libgsf-1" however as you can see if you look on the debian page libgsf-1 is the same source as the ligsf package...
How can I resolve this redundant/recursive issue? For now I have just force installed my package (and it appears to be working) but if I am going to distribute it to other people I need to get this fixed.
View 1 Replies
View Related
Apr 14, 2010
I have a virtual box running CentOS 5.3. I am experimenting with compiling and installing a kernel 2.6.33 on this.
However, the kernel compiled ok, but when I did the install it gave me these warning, not sure if they are important or not.
The steps I did was:
Code:
Code:
In my grub.conf I have the following:
Code:
When I try and boot I get the following problem:
Code:
View 11 Replies
View Related
Apr 29, 2010
I am in verse to compile a new kernel 2.6.34-rc5 on RHEL 6 Beta.I have been following [URL] for the same. how can i select all the options during :
Code:
make menuconfig/make gconf/make xconfig
I just saved it under .config and when I ran : make modules it threw errro saying "modules not included". So i want to select complete options during make xconfig.
View 3 Replies
View Related
May 11, 2011
I've been around the block with this problem and don't know what else to check to compile source for gpsbabel-1.4.2. Other posts on this forum mentioning the same error with no resolution on this specifically. I have looked at the following:
1. The Makefile looks like this for the part compiling with expat options:
Code:
gpsbabel$(EXEEXT): configure Makefile $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -lm -L/lib -lexpat -L/usr/lib -lusb $(OUTPUT_SWITCH)$@
2.Search for library files:
Code:
$find /usr/lib -type f -name "*expat*" -print
/lib/libexpat.so.1.5.2
/lib/libexpatw.so.1.5.2
[code]....
View 1 Replies
View Related
May 18, 2011
I can compile an old fortran program on my macbook using the Absoft fortran compiler and the command:f90 'W132 C SOURCECODE.flU77lV77
Unfortunately I cannot find f90 for linux. I can, however, find gfortran. However, gfortran does not recognize the flag -W132 and when I remove -W132 the compiler thinks all lines end after a certain number of characters. Does anyone know what flags call the equivalent type of compilation using gfortran? Is it possible I need to use f90? If so, is there a free version of f90 for linux?
View 8 Replies
View Related
May 21, 2010
I'm interested in modding an open-source turn based game called Advanced Strategic Command or ASC, but to do that I need bunch of libraries. Installing those libraries is very easy in linux, I know but the thing is I'm working with windows in which the building of the libraries is a bit more complex, as you probably know. One of those libraries is the ligsigc++, I'm using VC++ but haven't been successful in building the libsigc++ in VC++. I considered making my life easier with Cygwin (a unix shell for windows) and simply executing ./Configure, Make. I's worked like a charm and the library dll it produced is named cygsigc-2.0-0.dll which made me wonder is compiling a library in cygwin to be linked with VC++ perfectly ok? That is is there any difference in compiling in cygwin and VC++?
View 2 Replies
View Related