| 
 | 
 | 
 
Home » Community » U++ community news and announcements » New experimental Linux/FreeBSD release 
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: New experimental Linux/FreeBSD release [message #53665 is a reply to message #53661] | 
			Mon, 20 April 2020 07:59    | 
		 
		
			
				
				
				  | 
					
						  
						amrein
						 Messages: 278 Registered: August 2008  Location: France
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		I tested the last rev-14335 on Linux. The -M= option works according to specification but the generated makefiles are still the same. 
 
There are identical, regardless of passed flags (LINUX, X11, WIN32, OSX11): 
 
umk ../uppsrc ide CLANG +POSIX,LINUX     -rs -M=Makefile.ide.LINUX
umk ../uppsrc ide CLANG +POSIX,LINUX,X11 -rs -M=Makefile.ide.LINUX-X11
umk ../uppsrc ide CLANG +POSIX,WIN32     -rs -M=Makefile.ide.WIN32
umk ../uppsrc ide CLANG +POSIX,OSX11     -rs -M=Makefile.ide.OSX11
md5sum Makefile.ide.*
  
 
Résultat: 
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.LINUX
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.LINUX-X11
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.OSX11
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.WIN32  
 
With an older version, umk rev-14205, the resulting files are differents: 
 
umk.old ../uppsrc ide CLANG +POSIX,LINUX     -rsM ; mv -f Makefile Makefile.ide.LINUX
umk.old ../uppsrc ide CLANG +POSIX,LINUX,X11 -rsM ; mv -f Makefile Makefile.ide.LINUX-X11
umk.old ../uppsrc ide CLANG +POSIX,WIN32     -rsM ; mv -f Makefile Makefile.ide.WIN32
umk.old ../uppsrc ide CLANG +POSIX,OSX11     -rsM ; mv -f Makefile Makefile.ide.OSX11
md5sum Makefile.ide.*
  
 
12ee3d49848f69d4034381bebe91a210  Makefile.ide.LINUX
458b67aa2e9f7d652aa6ef4a40cd822c  Makefile.ide.LINUX-X11
7b0ce34377577d122d34ac644d01e99f  Makefile.ide.OSX11
002fd3fecfb6dc4948b497cc7e835fc2  Makefile.ide.WIN32
  
 
I searched but couldn't find the bug.
		
		
		[Updated on: Mon, 20 April 2020 08:21] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: New experimental Linux/FreeBSD release [message #53708 is a reply to message #53706] | 
			Wed, 22 April 2020 23:35    | 
		 
		
			
				
				
				  | 
					
						  
						amrein
						 Messages: 278 Registered: August 2008  Location: France
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Experimental Linux/FreeBSD/OpenBSD/OSX11 release : http://dl.free.fr/oLYL88VWq 
 
Not official. Only for testing. 
 
This is what I was working on. 
It's not so complex and it should work on every POSIX OS. At least on Linux, FreeBSD and OpenBSD. 
It also support rpm distribution (with 'rpmbuild -tb upp-14352MS.tar.xz') 
 
(Patch for OpenBSD Package Organizer configs included). 
 
I stop there because I think Mirek wants something simpler, smaller and easier to maintain. 
At least, you can use the buildrequires.posix file to enhance the current posix release tarball.
		
		
		[Updated on: Wed, 22 April 2020 23:53] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	
		
		
			| Re: New experimental Linux/FreeBSD release [message #53718 is a reply to message #53709] | 
			Fri, 24 April 2020 11:57    | 
		 
		
			
				
				
				  | 
					
						  
						amrein
						 Messages: 278 Registered: August 2008  Location: France
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		There's a strange error when I use umk to build theide. 
At link time, at the end of the wall build process, it fails saying: 
 
 
...
Linking...
clang-9: error: unsupported option '--libs'
clang-9: error: unsupported option '--libs'
...
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'freetype2`'
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'x11`'
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'fontconfig`'
...
  
 
My command line (fresh build umk rev 14364): 
 
./umk uppsrc ide CLANG -rbs ./theide
  
		
		
		[Updated on: Fri, 24 April 2020 12:15] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 07:41:03 CET 2025 
 Total time taken to generate the page: 0.06732 seconds 
 |   
 |  
  |