bugGNUstep - Bugs: bug #15356, make install fails to copy...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15356: make install fails to copy Makefiles

Submitted by:  Sheldon Gill <sheldon>
Submitted on:  Tue 03 Jan 2006 07:57:42 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 06 Jul 2006 12:44:03 PM UTC, comment #1:

Turns out that the problem was caused by use of backslash characters in the path configured for GNUSTEP_SYSTEM_ROOT ... ie bad input causes the failure.

Solution ... try to prevent bad input .. so I have added a load of checks to the configure script to complain/exit if you feed in paths with characters that the make system can't cope with.

Richard Frith-Macdonald <CaS>
Project Member
Tue 03 Jan 2006 07:57:42 AM UTC, original submission:

Clean new installation of the 1.11.2 sources

  • ./configure works fine:

checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for library combo... gnu-gnu-gnu
checking for apple compiler flags... no
hosted on mingw32 ..
checking for ar... ar
checking for dlltool... dlltool
checking for ranlib... ranlib
checking for a BSD-compatible install... install -p
checking whether ln -s works... yes
checking for gnutar... no
checking for gtar... no
checking for chown... chown
checking for GNUstep configuration file to use... /c/GNUstep/GNUstep.conf-dev
checking if we should import an existing configuration file... no: file "/c/GNUstep/GNUstep.conf-dev" does not exist
checking for GNUSTEP_SYSTEM_ROOT to use... E:\GNUstep\System
checking for GNUSTEP_LOCAL_ROOT to use... E:\GNUstep\Local
checking for GNUSTEP_NETWORK_ROOT to use... E:\GNUstep\Network
checking for user config file to use... .GNUstep.conf
checking for user dir to use... GNUstep
checking for user defaults dir to use... GNUstep/Defaults
checking for GNUSTEP_MAKEFILES to use... E:\GNUstep\System/Library/Makefiles
checking for flattened directory structure... yes
[snipped the rest. Its normal]

  • Now we install it:

$ make install
gcc -g -O2 -Wall -I. -o which_lib.exe which_lib.c
Moving paths from old heirarchy:
Creating system domain: E:\GNUstep\System
Creating local and network dirs: E:\GNUstep\Local, E:\GNUstep\Network
Creating makefile directories in: E:\GNUstep\System/Library/Makefiles
Installing GNUstep configuration file in /c/GNUstep/GNUstep.conf-dev
Installing gnustep-make support software
Installing makefiles

  • now we check

$ find /E/GNUstep
/E/GNUstep
/E/GNUstep/Defaults
/E/GNUstep/Defaults/.GNUstepDefaults
/E/GNUstep/Library
/E/GNUstep/Library/Colors
/E/GNUstep/Library/Colors/System extensions.clr
/E/GNUstep/Library/Colors/System.clr
/E/GNUstep/Library/Services
/E/GNUstep/Library/Services/.GNUstepAppList
/E/GNUstep/Library/Services/.GNUstepServices
/E/GNUstep/Local
/E/GNUstep/Network
/E/GNUstep/System
/E/GNUstep/System/Applications
/E/GNUstep/System/Library
/E/GNUstep/System/Library/ApplicationSupport
/E/GNUstep/System/Library/Bundles
/E/GNUstep/System/Library/ColorPickers
/E/GNUstep/System/Library/Colors
/E/GNUstep/System/Library/DocTemplates
/E/GNUstep/System/Library/Documentation
/E/GNUstep/System/Library/Documentation/Developer
/E/GNUstep/System/Library/Documentation/info
/E/GNUstep/System/Library/Documentation/man
/E/GNUstep/System/Library/Documentation/User
/E/GNUstep/System/Library/Fonts
/E/GNUstep/System/Library/Frameworks
/E/GNUstep/System/Library/Headers
/E/GNUstep/System/Library/Images
/E/GNUstep/System/Library/KeyBindings
/E/GNUstep/System/Library/Libraries
/E/GNUstep/System/Library/Libraries/Java
/E/GNUstep/System/Library/Libraries/Resources
/E/GNUstep/System/Library/PostScript
/E/GNUstep/System/Library/Services
/E/GNUstep/System/Library/Sounds
/E/GNUstep/System/Tools
/E/GNUstep/System/Tools/Java
/E/GNUstep/System/Tools/Resources

  • As you can see, no Makefiles directory anywhere. I'm pretty sure it's because its assumed that "/c/GNUstep/GNUstep.conf-dev" was created. Can't happen here as there is no "C:" drive...
Sheldon Gill <sheldon>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 06 Jul 2006 12:44:03 PM UTCCaSStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1