From: David C. <cl...@au...> - 2004-07-23 20:02:13
|
A follow-up on this: What Philip says is correct... almost all open-source packages that you build will build more cleanly if you use the common GNU utilities, such as installing the GNU make from the Toolbox and setting your PATH as he describes. I didn't mention it in the case of vim; I notice that our spec file is explicitly running "/usr/bin/make" so this is a rare exception to this rule. Even so, when I built it just now I had /usr/linux/bin first in my path; so other than explicitly running /usr/bin/make, the GNU tools are used before the native ones. -- David Clissold cl...@au... On Fri, Jul 23, 2004 at 11:46:13AM -0500, Philip K Warren wrote: > aix...@ww... wrote on 07/23/2004 > 07:13:41 AM: > > I then looked at the source listing for VIM and found a new release of > 6.3 > > was available instead of the 6.0.147-2 from the toolbox site. Thinking > that > > this might fix the problem I downloaded the source and tried to compile > it. > > I received the following error message: > > > > make: 1254-002 Cannot find a rule to create target > > ../runtime/vim32x32.xpm from dependencies. > > Stop. > > This is because you are trying to build against the AIX make instead of > the GNU make. Several packages require you to use GNU make to build, so > here is what I would suggest. > > Download and install GNU make from the Toolbox: > ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/make/make-3.80-1.aix5.1.ppc.rpm > > Set your path to include /usr/linux/bin before all other directories when > building the RPM. This will ensure that the correct version of make is > picked up by the build process. > > $ export PATH=/usr/linux/bin:$PATH > $ rpm -ba vim.spec > > -- > Philip K. Warren > pk...@us... > Phone: 512.838.8924 > T/L 678.8924 > _______________________________________________ > aixtoolbox-list mailing list > aix...@ww... > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/aixtoolbox-list |