[bug #26409] On Windows, "make" isn't found.

View: New views
8 Messages — Rating Filter:   Alert me  

[bug #26409] On Windows, "make" isn't found.

by Petr Hluzin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


URL:
  <http://savannah.gnu.org/bugs/?26409>

                 Summary: On Windows, "make" isn't found.
                 Project: GNUstep
            Submitted by: hitterm
            Submitted on: Fr 01 Mai 2009 11:07:17 GMT
                Category: ProjectCenter
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Steps to reproduce:

1. Install the current set of Windows installers:

- gnustep-system-0.22.0
- gnustep-core-0.22.0
- gnustep-devel-1.0.0
- SystemPreferences-1.0.2.7
- gorm-1.2.8
- ProjectCenter-0.5.0

2. Launch ProjectCenter, create an application from the template and hit the
Build button.

3. In the upcoming build window, hit Build again.


Expected result:

The application is built (at 2., actually).


Actual result:

ProjectCenter shows an error message "Build terminated. Build tool not found.
File "/usr/bin/make" not found"


Investigation:

The error message is correct. Make is to be found in C:\GNUstep\bin\make.exe.
This mismatch shouldn't happen on a virgin, default install.


BTW: Where would I set make's location? ProjectCenter doesn't appear to have
such an option.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26409>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #26409] On Windows, "make" isn't found.

by Petr Hluzin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #1, bug #26409 (project gnustep):

I'm not sure the best way to solve this. It might be interesting to add
support in NSFileManager and NSTask (perhaps other places?) to look for files
in the mingw directory space if an absolute path is specified, but the path is
not a fully qualified Windows path (with drive designation).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26409>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Re: [bug #26409] On Windows, "make" isn't found.

by Markus Hitter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Isn't it a good idea to run ProjectCenter in the same environment as  
the shell? This way custom scripts in preamble or postamble would  
work as well.


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #26409] On Windows, "make" isn't found.

by Petr Hluzin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #2, bug #26409 (project gnustep):

In my own apps I prefer system() and popen() over NSTask to have an
environment identical to an interactive shell.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26409>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #26409] On Windows, "make" isn't found.

by Petr Hluzin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #3, bug #26409 (project gnustep):

In the upcoming version of ProjectCenter I have implemented a way to select
the make executable under windows. I think all guessowrk will never be really
correct. Also, even on unix, you might have different versions of make lying
around.


For the time being, you can insert something like
/g/GNUstep/bin/make.exe

and it should work afterwards.

(the same holds true for gdb, although the upcoming integrated debugger won't
work on windows)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26409>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #26409] On Windows, "make" isn't found.

by Petr Hluzin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #4, bug #26409 (project gnustep):

have you tried SVN trunk of ProjectCenter?
It has the option to set the make path and solve your problem at the root.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26409>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Re: [bug #26409] On Windows, "make" isn't found.

by Markus Hitter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Am 11.06.2009 um 12:45 schrieb Riccardo mottola:

> Follow-up Comment #4, bug #26409 (project gnustep):
>
> have you tried SVN trunk of ProjectCenter?

I tried to build from svn, but couldn't figure the configuration to  
build ProjectCenter successfully, i.e. in a way it would work with  
the remaining parts coming with the Windows installers. The best  
solution is probably to wait until Adam does new Windows installers.




_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

[bug #26409] On Windows, "make" isn't found.

by Petr Hluzin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #5, bug #26409 (project gnustep):

if you have SVN trunk of both the core libraries and ProjectCenter, you
should be able to build and run things in PC once you set the executable path
by using the standard file browser.
Please give us some feedback, the next release of project center shall be
usable on windows!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26409>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep