General :: Building Deb Package For 64bit Ubuntu 10.10
Feb 23, 2011
I am trying to build a deb package and I am lost. I was trying to follow this tutorial [URL] and I am not sure what kinda of package this should be. The driver is [URL].
I've decided to build a new system. I been doing a lot of compatibility searches with little luck. I don't have a bunch of money to put into it but here is what I've been looking at. I have been very happy with Ubuntu 10.04 lts Lucid 32-bit version and thought I would install the 64-bit version on this. I would like your input on this system. Are there any compatibility problems here?
ASUS M4A785-M AM3/AM2+/AM2 AMD 785G HDMI Micro ATX AMD Motherboard Model #:M4A785-M Item #:N82E16813131595 XFX PVT94GYAJG GeForce 9400 GT 512MB 64-bit DDR2 PCI Express 2.0 x16 HDCP Ready Video Card Model#: PVT94GYAJG Item #:N82E16814150488 AMD Athlon II X4 640 Propus 3.0GHz Socket AM3 95W Quad-Core Desktop Processor ADX640WFGMBOX Model #:ADX640WFGMBOX Item #:N82E16819103871 Kingston HyperX 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 Desktop Memory Model KHX8500D2K2/4G Model #:KHX8500D2K2/4G Item #:N82E16820104073
Along with this I have 1-Sata 500G and a 1-Sata 250G hard drives that will be installed.
I recently went shopping at newegg for components for a new home server to fulfill multiple needs--chief amongst them to replace an aging old Athlon box which has been running a 4TB software raid for years now So I ordered an ASUS P7P55D-E LX mobo, 8GB DDR2, a core i5 quad-core, and 6 WD "green" 2TB drives (I'm more concerned with capacity than speed). I got it all assembled, using a 500GB 2.5" drive as the boot / host drive, a blu-ray reader, and splitting the 2TB drives amongst the 2 controllers (4 on the remaining ports of the x6 SATA controller and 2 on the x2 SATA-III controller, just not needing the SATA III capabilities). I plan to use Software RAID5 rather than the fakeraid that might be supported by the chipset. This affords maximum portability for the future.
At any rate, I installed 10.10 64-bit (Desktop), let it update, then installed mdadm and set about configuring the RAID5. I decided to use the nifty graphical tool. Last time I did this on my old Fedora box, it was all CLI.All seemed to be going well, and I was letting it fully recover / synchronize before setting up a filesystem (planning on ext4 this time). I kept an eye on it with cat /proc/mdstat.
After 20 hrs (averaging 25MB/sec on the sync...seems a bit slow, but who knows?)...it finishes and the RAID is immediately degraded with one volume (/dev/sdc1) marked as faulty and another volume marked as a spare. I replaced the SATA cables with brand new ones as long ago I ran into an issue like this due to a bad cable. Before trying again I ran the extensive SMART test and a read/write benchmark on each drive. They all checked out fine. So I started over and 20hrs later, same thing.So I shut down and removed the offending drive and started with only 5 drives. Another 19hrs go by and this one turns up /dev/sde1 faulty and another drive marked as a spare. That drive was fine before, and is on a different controller from the one that it was finding as faulty before.
Now I am suspicious that there is a larger underlying issue and that the drives are not bad at all. Should I have just gone with a 32-bit + PAE install? Does the 64-bit have known issues with the software RAID? Should I have just built it using the CLI? Looking online, it seems people are having success with the GUI tool. I don't think it is the GUI tool. Checking with mdadm, it seems everything is being configured right.
I've been working on this for 3 days now and can't find any solution any where on the internet. (At least not one that works for me). I try to build a 32bit PHP RPM on a CentOS5.3 86x64 host. Every post I read indicates that it should be possible, but not for me. I issue the following command (found somewhere in a post):
Code: CC='gcc -m32' linux32 rpmbuild -ba --target=i386 SPECS/php-5.3.0.spec Then it starts:
Code: Building target platforms: i386 Building for target i386 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.43870 .....
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.72849 (%build) With the following command I tried I get the same error:
I've a 64-bit Ubuntu Linux machine. Linux version 2.6.28-14-generic (buildd@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 Ubuntu 9.04 Linux Debian 5.0 ( 2.6.28-14-generic x86_64)
When I tried to install the python-dev package on it using the command sudo apt-get install python-dev, I got following messages.
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: python-dev 0 upgraded, 1 newly installed, 0 to remove and 271 not upgraded. Need to get 978B of archives. After this operation, 24.6kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! python-dev Install these packages without verification [y/N]? y Err http://in.archive.ubuntu.com jaunty/main python-dev 2.6.2-0ubuntu1 404 Not Found [IP: 91.189.88.45 80] Failed to fetch http://in.archive.ubuntu.com/ubuntu/...buntu1_all.deb 404 Not Found [IP: 91.189.88.45 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Tried with --fix-missing option as well. Same errors in this case also. How I can install python-dev package on 64-bit Ubuntu Linux machine?
I am trying to build the ATI fglrx 10.12 driver using the ATI installer on debian Squeeze 64bit.
Todo this I run the following command: ./ati-driver-installer-10-12-x86.x86_64.run --buildpkg Debian/testing
Which produces this output: Created directory fglrx-install.oFbosX Verifying archive integrity... All good. Uncompressing ATI Catalyst(TM) Proprietary Driver-8.801 Generating package: Debian/testing cp: cannot stat `/home/nojan/Downloads/fglrx-install.oFbosX/x710_64a/*': No such file or directory Package build failed! Package build utility output: ..... dh_install: Compatibility levels before 5 are deprecated. cp: cannot stat `./usr/X11R6/lib64/modules/linux': No such file or directory dh_install: cp -a ./usr/X11R6/lib64/modules/linux debian/fglrx-driver/usr/lib/xorg/modules/ returned exit code 1 make: *** [binary] Error 2 dpkg-buildpackage: error: debian/rules binary gave error exit status 2 Removing temporary directory: fglrx-install.oFbosX
i am using fedora-10,wants to install GTK+-2.18.7 or,so that i can built gui in 'C'.After several tries and installing needed libraries could not make it out.can any one give me full list of required librariescessary procedure to install them in sequence.From where i can find the full package of these libraries.
Today I got update notification. I type in terminal yum update, and get this error: Quote: Error: Missing Dependency: libnetfilter_conntrack.so.1()(64bit) is needed by package iptstate-2.2.1-5.fc11.x86_64 (installed) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest
I removed iptstate.x86_64, again run yum update, and than, ibnetfilter_conntrack got installed. I tried to install iptstate.x86_64 again, but i get Quote:
I am currently working on making a audio interface work with a otherwise working debian desktop (its actually AVLinux, but its Debian for all intents and purposes). The problem is, the current version of ffado-svn installed (1949, from the experimental repository) has a bug with the firmware on the interface (an Echo Audiofire8) preventing me from using high sample rates, so I need to install a more recent version of ffado-svn.I am wondering if there is anyway I can build a current version of ffado-svn into the appropriate debian packages. While I am not familiar with debian, I am familiaux (I use Arch regularly). I have tried messing around with downloading the svn source and downloading the source files from however, my lack of knowledge of the building process in debian has rendered me unable to have success so far.
I am trying to build something with checkinstall but it is throwing this error message - Code:dpkg-deb: parse error, in file '/var/tmp/tmp.tZtdRb9biy/package/DEBIAN/control' near line 3 package 'eina': field name `System' must be followed by colon make install works fine, but I would like a .deb to be built.
I am interested in package building rpms, just stumped on how packagers such as remi and atomic rocket get their spec files. Are these written from other packagers or do you need to write each spec file yourself to be considered as a "packager".
I'm trying to compile a project on my raspberry pi with little success. I typed export DH_VERBOSE=1 and added -v to the gcc options in the Makefile to see what was going on and this is the output. I'm trying to compile hda-jack-retask to get the raspberry pi headphone jack set to be a microphone jack. I want to be able to use the microphone jack as the input to xoscope, an oscilloscope program.
Code: Select allpi@raspberrypi ~/~diwic/+junk/hda-jack-retask $ dpkg-buildpackage dpkg-buildpackage: source package hda-jack-retask dpkg-buildpackage: source version 0.20120113 dpkg-buildpackage: source changed by David Henningsson <david.henningsson@canonical.com> dpkg-buildpackage: host architecture armhf dpkg-source --before-build hda-jack-retask
[Code] ....
And it sits here for at least 24 hours. Alternatively, It looks like this program is part of the alsa-tools package in Ubuntu, but not in Debian. Need to figure out this freezing issue, should I pull down the Ubuntu source and build a debian package from that?
I'm trying to work with the pcsx2 dev to compile on fedora 86_64. [URL]. Unfortunately I seem to be missing a gtk2 / glib package as building stops with:
Scanning dependencies of target CDVDiso 47% Building CXX object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/CDVDisop.cpp.o In file included from /home/mythtv/pcsx2-read-only/plugins/CDVDiso/src/CDVDisop.cpp:11:0: /home/mythtv/pcsx2-read-only/plugins/CDVDiso/src/Linux/Config.h:32:21: fatal error: gtk/gtk.h: No such file or directory compilation terminated. make2?: plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/CDVDisop.cpp.o? Error 1 make1?: plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/all? Error 2 make: all? Error 2
I have gtk2-devel.i686, glib-devel.i686 and all the other dependencies afaik - How do I get yum to tell me which gtk* packages are installed for instance...?
I am trying to build ORBit2 as a dependency for GConf and then google-chrome.
This is a multilib system and I want 32 bit chrome.
Both my 64 bit and compat32 packages are all current as of today per ftp://slackware.mirrors.tds.net/pub/slackware/.
I have edited the Slackbuild as follows:
Code:
The build fails each time with:
Code:
I am using the newest version of ORBit2 as the above indicates, but this is just to see if the newer package would build. The X.X.17 version failed with the same output.
I have run:
Code:
I've had no problems building this package with current in a pure 64 bit environment.
I installed ubuntu on my laptop recently and would like to have trim support. (Because I have a ssd drive (crucial c-300 256gb). The current kernel that I am using is the 2.6.32 (standard lucid kernel I believe). Unfortunately TRIM support is only available from 2.6.33 and up. So I thought I'd install a new kernel using this howto:
i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...
I have been attempting to compile lmms on my 64 bit install of fedora 11, and have determined that I need the gcc-devel package. I cannot find it in any of the repositories. Where is it?
I am running Fedora 12 x86-64. I have a SRPM and want to build both x86-64 and i686 package. But the rpmbuild -ba can only build x86-64 package. --target=i686 is not working fine too, it try to find dependency in /usr/lib64. How can I build i686 package?
I've tried the "yum clean all" option to no avail. When I update either with the GUI or command line, I get this error:
[root@joshhardman ~]# yum update Loaded plugins: refresh-packagekit Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package anacron.x86_64 0:2.3-78.fc11 set to be updated ---> Package binutils.x86_64 0:2.19.51.0.14-1.fc11 set to be updated ---> Package crontabs.noarch 0:1.10-30.fc11 set to be updated ---> Package genisoimage.x86_64 0:1.1.9-6.fc11 set to be updated ---> Package icedax.x86_64 0:1.1.9-6.fc11 set to be updated ---> Package shadow-utils.x86_64 2:4.1.4.1-5.fc11 set to be updated ---> Package wodim.x86_64 0:1.1.9-6.fc11 set to be updated --> Finished Dependency Resolution .....
Can I not have the 64 bit and 32 bit packages installed at the same time?
environment: 2.6.9-89.ELlargesmp #1 SMP Mon Apr 20 10:43:12 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 8) I am trying to install a 32 bit package on a 64 bit install. I don't get an error, it just does not install. This is the command I am using:
I recently gave the boot to Windows and installed Fedora 10. Under Windows, I was using VirtualBox for all of my virtualized computing needs. I had set up a virtual network with two virtual machines - one running Windows Server 2K3 and the other running Windows 2000 Pro. I could run both VMs at the same time and still use the host OS. Now I am trying a similar setup under Fedora, I am using VirtualBox to run Server 2K3 and Windows XP. The problem I encounter is that when I run one VM, one of my CPU cores rockets to 100% usage and the other hovers around 40% - 60% usage. Is there a way to enhance performance so I can run both VMs at the same time? Third, what would be the effects of me installing the Xen runtime environment package or the Xen emulator for KVM?
my update today failed, because the packages raydium and maniadrive depend on libphp5-5.2.9.so, which is provided by php-embedded, which is (apparently) not in the fedora 64bit repository There does however seem to be an i586 version...
I have configured the Adobe repos and when I try to install Adobe Reader, yum gives me the following error:
Code: Transaction Check Error: package nss-softokn-freebl-3.12.4-19.fc12.x86_64 (which is newer than nss-softokn-freebl-3.12.4-17.fc13.i686) is already installed I tried --skipbroken as a longshot to no avail. Obviously if I try to remove nss-softokn-freebl it tries to remove all of Fedora , looked in Koji but there is nothing in there either.
This has been happening for over a week and is preventing me from installing updates, They all download OK then as they start to install I get this error message. Test Transaction Errors: package nss-softokn-3.12.4-19.fc13.x86_64 (which is newer than nss-softokn-3.12.4-17.fc13.i686) is already installed Then the update fails and I am unable to continue.
I am a complete noob with this OS, I left for a week in the hope it would sort it's self out.
Since the Fedoraplus site is down, I alternatively downloaded the FC14 version in hopes that it would work. Instead, I now receive the following error any time I try to remove or install a package via yum: Code: [Errno 22] invalid mode ('w') or filename: '//var/lib/yum/rpmdb-indexes/conflicts.tmp' I'm pretty sure the issue here is a typo in a file (the extra "/" in the path to "conflicts.tmp").
I'm having trouble understanding the principles behind OpenSuse package and repository management. Here is a concrete example: I want to install the 32bit version of glibc. (using zypper) Naturally I write 'wp glibc' to see what's available. Output:
[Code]....
I'm looking for the (32bit) tokyocabinet library. I go through all the hoops like I did in the first example. Nothing shows up! How is that possible? Does opensuse really not have this library in any repository? Does that mean I have to install from source? How can I be sure that zypper searches through all repositories?