DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Finally I found a .deb package for my AMD Geode LX Graphic card. The problem is that it is ubuntu package and I am using Debian etch with kernel 2.6.18. How can I install this package at the same time resolving the dependencies issues?
The package in Debian is xserver-xorg-video-ati, and I'm sure it came with your Xorg installation. Feel free to try installing Ubuntu packages, but sooner or later you will make a major mess.
If you think it is a different package than the Xorg driver, the link you provided has it's own link to the sources. Build it yourself.
The package in Debian is xserver-xorg-video-ati, and I'm sure it came with your Xorg installation. Feel free to try installing Ubuntu packages, but sooner or later you will make a major mess.
If you think it is a different package than the Xorg driver, the link you provided has it's own link to the sources. Build it yourself.
Thanks rickh for your answer. Actually I am little bit confused after your reply. It could because I am not expert of Xorg stuff.
I mentioned that I need the driver:
xserver-xorg-video-amd
whereas you said that in Debian the same package is:
xserver-xorg-video-ati
AMd v/s ATI? I couldn't get it. I assume that in the xserver-xorg-video-ati package, the drivers will be for ATI cards and not AMD Geode LX cards....????
Sorry. I went back and looked closer. You're right it is a different driver. You need to follow these instructions from the page you linked.
Code:
The Linutop graphical chipset is an AMD Geode LX.
A free Xorg driver exists, available in a git repository.
To grab the driver, install git and run:
git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-amd.git
To build it, install the xorg devel packages
(-dev or -devel packages depending on the Linux distribution you use)
and run:
./autogen.sh --prefix=/usr
make
make install # run this last command as root
Finally I found a .deb package for my AMD Geode LX Graphic card. The problem is that it is ubuntu package and I am using Debian etch with kernel 2.6.18. How can I install this package at the same time resolving the dependencies issues?
The name of the package is xserver-xorg-video-amd which is not there in Debain repo.
Please advice how to proceed.
Thanks
Get the .dsc, .diff.gz and .orig.tar.gz files from this page for the -amd package your probably best off downloading into a directory you create for this purpose. Now make sure that you have the build-essential, dpkg-dev and x-dev packages installed then in the directory you have created use.
Code:
dpkg-source -x xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1.dsc
cd xserver-xorg-video-amd-2.7.6.5~20070208/
fakeroot dpkg-buildpackage -uc -us
Hopefully the package will build without errors here it seems to fail with something to do with assembler instructions being invalid probably due to me compiling on 64bit. If it builds without problems then become root user and install the resulting .deb(s) that were created.
Edit: If you get any errors about files missing then install apt-file then use apt-file update as root then once it completes you can use the apt-file search file/missing.h as normal user for instance to see which package contains the needed file that you will need to install.
Get the .dsc, .diff.gz and .orig.tar.gz files from this page for the -amd package your probably best off downloading into a directory you create for this purpose. Now make sure that you have the build-essential, dpkg-dev and x-dev packages installed then in the directory you have created use.
Code:
dpkg-source -x xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1.dsc
cd xserver-xorg-video-amd-2.7.6.5~20070208/
fakeroot dpkg-buildpackage -uc -us
Hopefully the package will build without errors here it seems to fail with something to do with assembler instructions being invalid probably due to me compiling on 64bit. If it builds without problems then become root user and install the resulting .deb(s) that were created.
Edit: If you get any errors about files missing then install apt-file then use apt-file update as root then once it completes you can use the apt-file search file/missing.h as normal user for instance to see which package contains the needed file that you will need to install.
Thanks HappyTux. Your instructions will be very useful. However, what is the best thing to do? Compile from sources or install the pre-built .deb package in this case. Which is a better option from point of view of future maintenance.
ok, I tried the instructions and I got the following error message when I gave the command:
akeroot dpkg-buildpackage -uc -us -d
(Note: I had to add the "-d" flag which was not there in the original instruction as I got an error message which asked me to use "-d" flag to override.
Code:
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto ) were not met:
No package 'xorg-server' found
No package 'fontsproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [build-stamp] Error 1
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208#
Last edited by kushalkoolwal; 05-21-2007 at 04:58 AM.
ok, I tried the instructions and I got the following error message when I gave the command:
akeroot dpkg-buildpackage -uc -us -d
(Note: I had to add the "-d" flag which was not there in the original instruction as I got an error message which asked me to use "-d" flag to override.
Code:
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto ) were not met:
No package 'xorg-server' found
No package 'fontsproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [build-stamp] Error 1
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208#
Looks like you do not have the development files for X installed try installing the xserver-xorg-dev package checking to see if x11proto-core-dev, x11proto-fonts-dev and build-essential for that matter got installed as well. For your other question the pre-built .deb is the best to install but if you don't have that option then building from source is all that is left to get what you need done and working then thats what you gotta do.
Looks like you do not have the development files for X installed try installing the xserver-xorg-dev package checking to see if x11proto-core-dev, x11proto-fonts-dev and build-essential for that matter got installed as well. For your other question the pre-built .deb is the best to install but if you don't have that option then building from source is all that is left to get what you need done and working then thats what you gotta do.
Thanks Happy Tux. I did what you recommended and it did installed the fonts-dev package. Then I gave the command again and I got a similar error message:
Code:
hecking if XV is defined... no
checking if DPMSExtension is defined... no
checking if XFreeXDGA is defined... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto ) were not met:
No package 'xorg-server' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [build-stamp] Error 1
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208# apt-get install xorg-server
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package xorg-server
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208#
Should I try the XORG_FLAGS and PKG_CONFIG_PATH thing? If yes then how should I go about it?
Thanks Happy Tux. I did what you recommended and it did installed the fonts-dev package. Then I gave the command again and I got a similar error message:
Code:
hecking if XV is defined... no
checking if DPMSExtension is defined... no
checking if XFreeXDGA is defined... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto ) were not met:
No package 'xorg-server' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [build-stamp] Error 1
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208# apt-get install xorg-server
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package xorg-server
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208#
Should I try the XORG_FLAGS and PKG_CONFIG_PATH thing? If yes then how should I go about it?
Thanks you once again.
Oh they have the packaged named differently, what does the control file contain in the debian directory can you show it to me.
Oh they have the packaged named differently, what does the control file contain in the debian directory can you show it to me.
Here is the control file:
Code:
Source: xserver-xorg-video-amd
Section: x11
Priority: optional
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Uploaders: David Nusinow <dnusinow@debian.org>, Branden Robinson <branden@debian.org>, Fabio M. Di Nitto <fabbione@fabbione.net>
Build-Depends: debhelper (>= 4.0.0), pkg-config, xserver-xorg-dev (>= 1:1.1.1), x11proto-video-dev, x11proto-core-dev, x11proto-fonts-dev, x11proto-randr-dev, x11proto-render-dev, x11proto-xext-dev, x11proto-xf86dga-dev
Standards-Version: 3.6.1.0
Package: xserver-xorg-video-amd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, xserver-xorg-core (>= 1:1.1.1)
Provides: xserver-xorg-video
Replaces: xserver-xorg (<< 6.8.2-35), xserver-xorg-driver-amd
Conflicts: xserver-xorg-driver-amd
Description: X.Org X server -- AMD display driver
This package provides the driver for AMD video card chipsets.
.
More information about X.Org can be found at:
<URL:http://xorg.freedesktop.org>
<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
.
This module can be found as the module 'xorg/driver/xf86-video-amd' at
<URL:http://gitweb.freedesktop.org/>
Umm, are you sure you have all the depends mentioned in that file installed?
Friend, you are absolutely right!!! I was still missing one of the packages. Thanks HappyTux for leading into that direction. You guys are awesome.
Although it seems that the compilation finished, but it gave me some messages before it finished. Should I be concerned of the following messages at the end of the compilation process?
Code:
make[3]: Leaving directory `/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208/obj-i486-linux-gnu'
make[2]: Leaving directory `/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208/obj-i486-linux-gnu'
make[1]: Leaving directory `/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208/obj-i486-linux-gnu'
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_install --sourcedir=debian/tmp
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `xserver-xorg-video-amd' in `../xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1_i386.deb'.
dpkg-genchanges
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: binary and diff upload (original source NOT included)
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208#
What should I do in this case?
Last edited by kushalkoolwal; 05-25-2007 at 04:33 PM.
Friend, you are absolutely right!!! I was still missing one of the packages. Thanks HappyTux for leading into that direction. You guys are awesome.
Although it seems that the compilation finished, but it gave me some messages before it finished. Should I be concerned of the following messages at the end of the compilation process?
Code:
make[3]: Leaving directory `/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208/obj-i486-linux-gnu'
make[2]: Leaving directory `/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208/obj-i486-linux-gnu'
make[1]: Leaving directory `/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208/obj-i486-linux-gnu'
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_install --sourcedir=debian/tmp
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `xserver-xorg-video-amd' in `../xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1_i386.deb'.
dpkg-genchanges
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: binary and diff upload (original source NOT included)
debian:/usr/src/amd_xorg_driver/xserver-xorg-video-amd-2.7.6.5~20070208#
What should I do in this case?
Your welcome good to see you got it done. I have never seen the miscepends warning before it must be Ubuntu specific the two at the bottom about the source code are normal when building yourself and not doing an upload to a Debian server, I would go ahead and install the resulting package(s) to see how it works.
Your welcome good to see you got it done. I have never seen the miscepends warning before it must be Ubuntu specific the two at the bottom about the source code are normal when building yourself and not doing an upload to a Debian server, I would go ahead and install the resulting package(s) to see how it works.
Ok I tried installing the package and this is the error message that I got:
Code:
debian-epm11:~/Desktop# dpkg -i xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1_i386.deb
tar: ./control: time stamp 2007-05-25 14:31:51 is 2849070.585658451 s in the future
tar: ./md5sums: time stamp 2007-05-25 14:31:51 is 2849070.584284168 s in the future
tar: .: time stamp 2007-05-25 14:31:51 is 2849070.583828717 s in the future
Selecting previously deselected package xserver-xorg-video-amd.
dpkg: regarding xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1_i386.deb containing xserver-xorg-video-amd:
xserver-xorg-core conflicts with xserver-xorg-video
xserver-xorg-video-amd provides xserver-xorg-video and is to be installed.
dpkg: error processing xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1_i386.deb (--install):
conflicting packages - not installing xserver-xorg-video-amd
Errors were encountered while processing:
xserver-xorg-video-amd_2.7.6.5~20070208-0ubuntu0linutop1_i386.deb
debian-epm11:~/Desktop#
I am not an expert while building debian packages from source. So guys it would be really great if you can help me out?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.