Re: dumb question

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

 



On 01/04/2012 04:22 PM, Paul Allen Newell wrote:
> And that's the confusion on my end. You are stating that Marvin says
> "make it +x" and you are saying it doesn't need to be. I asked this
> dumb question to find out how I should treat this situation regardless
> of "what works". Its about understanding whether a makefile is an
> executable or if make is just treating it as input and the executable
> part is under the hood. 

No....  I'm saying that Marvin first said that the Makefile should be +x
but later corrected himself to say that it was /usr/bin/make he was
thinking of and that certainly needs to be +x because it is the
executable....

[egreshko@f16-2 egreshko]$ file /usr/bin/make
/usr/bin/make: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped

Again, "Makefile" or "makefile" need not be executable and in fact they
aren't meant to be executable.

[egreshko@misty transcode-1.0.2]$ chmod +x Makefile
[egreshko@misty transcode-1.0.2]$ ./Makefile
./Makefile: line 19: srcdir: command not found
./Makefile: line 20: top_srcdir: command not found
./Makefile: line 22: datadir: command not found
./Makefile: line 22: pkgdatadir: command not found
./Makefile: line 23: libdir: command not found
./Makefile: line 23: pkglibdir: command not found
./Makefile: line 24: includedir: command not found

-- 
A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools. -- Douglas Adams in "Mostly Harmless
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux