PATCH: libntddl.so not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This adds a helpful messages for the users who do
	./configure
	make
	make install
and do not have /usr/local/lib in their ld.so.conf.

Ciao, Marcus

License: LGPL
Changelog:
	Helpful notice for users who just blindly compile and expect
	WINE to run.

Index: make_dlls
===================================================================
RCS file: /home/wine/wine/dlls/make_dlls,v
retrieving revision 1.12
diff -u -r1.12 make_dlls
--- make_dlls	23 May 2002 19:13:23 -0000	1.12
+++ make_dlls	30 May 2002 12:00:14 -0000
@@ -160,6 +160,19 @@
 	\$(EXTRADIRS:%=%.dll\$(DLLEXT)) \\
 EOF
 printf NEWMAKE "\t%s\n", join( " \\\n\t", sort keys %targets );
+print NEWMAKE  <<EOF;
+	\@if test -f /etc/ld.so.conf -a -z "`grep \$(libdir) /etc/ld.so.conf`" ; \\
+	then \\
+		echo "*************************************************" ; \\
+		echo "*************************************************" ; \\
+		echo "The installed WINE libraries will not be found!" ; \\
+		echo "You can either:" ; \\
+		echo "	Add the line '\$(libdir)' to /etc/ld.so.conf" ; \\
+		echo "	export LD_LIBRARY_PATH=\$(libdir):\$LD_LIBRARY_PATH" ; \\
+		echo "*************************************************" ; \\
+		echo "*************************************************" ; \\
+	fi
+EOF
 
 
 ################################################################


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux