Dear SuSE users, I've used SuSE since version 6.x, five or six years ago, and now I'm coming back to version 9.0. I've installed Suse 9 on a Serial bases system and installation DVD/CD can't handle such hardware configuration. I've been forced to turn my SATA controler in compatibility mode for Suse to install. Note: on my DVD the media.1/* and media.2/* files are somewhat corrupted and Yast complained about I/O error. I copied those file from CD1. Then I copied entire DVD to my hard disk. I set up a kernel myself (2.6.4-rc2) with my old Linux installation and I modified Grub accordingly. Everything went fine. Except a few warning during init due to Suse init scripts wanting to set up minor console ioctl pertaining to Suse modified kernel. Note about NVIDIA: I own an NVIDIA Quadro 4 XGL. I wanted to use NVIDIA provided drivers. But neither Yast2 nor YOU succeded in installing NVIDIA drivers displayed in patch listing. Although Yast installed correctly the nvidia.o driver for the Suse kernel, it didn't installed the remaining stuff of NVIDIA provided files (libraries and X11 driver). I installed theses files extracting manually the NVIDIA package and executing manually "make install". What was my surprise when I discovered that Suse didn't provide neither MPlayer neither transcode ! I'll have to build those things myself ;-). I needed GLEW library for my developments so I tried krpmbuilder to create one from sources. I went into an ugly issue : dependencies. Although I specified libGL.so.1 in dependencies through krpmbuilder (and I checked the spec file : libGL.so.1 was in Requires string), rpm complained about missing libGL.so.1. Whereas it was installed by XFree86-mesa-devel on my system. Here is what rpm says: error: Failed dependencies: libGL.so.1(LIBGL) is needed by glew-1.2.0-SuSE9.0 I wonder why I was force to say "-SuSE9.0" in krpmbuilder. And I wonder why rpm searches for (LIBGL) tag ??? Anyone master "build" and rpm to help me create a robust spec file for GLEW ? And it would be nice to discuss with GLEW team about tarball naming convention, and installation directories conventions... I attached my somewhat "alpha" spec file. Regards, M.B. Name: glew Summary: OpenGL Extension Wrangler Library Version: 1.2.0 Release: SuSE9.0 License: GPL Group: Développement/Bibliothèques/X11 Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/build-root-%{name} Packager: Michel Briand Distribution: SuSE Prefix: /usr Url: http://glew.sourceforge.net Provides: libGLEW.so.1 Vendor: GLEW Requires: ld-linux.so.2 %description The goal of the OpenGL Extension Wrangler Library (GLEW) is to assist C/C++ OpenGL developers with two tedious tasks: initializing and using extensions and writing portable applications. GLEW provides an efficient run-time mechanism to determine whether a certain extension is supported by the driver or not. OpenGL core and extension functionality is exposed via a single header file. GLEW currently supports a variety of platforms and operating systems, including Windows, Linux, Darwin, Irix, and Solaris. %prep rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT %setup -q %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{prefix} make %install make GLEW_DEST=$RPM_BUILD_ROOT/usr install cd $RPM_BUILD_ROOT find . -type d -fprint $RPM_BUILD_DIR/file.list.%{name}.dirs find . -type f -fprint $RPM_BUILD_DIR/file.list.%{name}.files.tmp sed '/\/man\//s/$/.gz/g' $RPM_BUILD_DIR/file.list.%{name}.files.tmp > $RPM_BUILD_DIR/file.list.%{name}.files find . -type l -fprint $RPM_BUILD_DIR/file.list.%{name}.libs sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' $RPM_BUILD_DIR/file.list.%{name}.dirs > $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.files >> $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.libs >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/file.list.%{name} rm -rf $RPM_BUILD_DIR/file.list.%{name}.libs rm -rf $RPM_BUILD_DIR/file.list.%{name}.files rm -rf $RPM_BUILD_DIR/file.list.%{name}.files.tmp rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs %files -f ../file.list.%{name} %defattr(-,root,root,0755)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 12 March 2004 11:47 am, Michel Briand wrote:
Dear SuSE users,
Not to run you off, but you'll probably get a lot more help on suse-linux-e@suse.com
Regards,
M.B.
STH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAUet/wX61+IL0QsMRAm22AJ9eOPWrAlJRz5Z7PJ2/q1KBeY/ADQCgkQVB jcTwpo9dx9UBuBplJxQ2A5s= =HkJb -----END PGP SIGNATURE-----
participants (2)
-
Michel Briand
-
Steven T. Hatton