<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot load &amp;lt;file&amp;gt; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168540#M897000</link>
    <description>Nameesh,&lt;BR /&gt;if &lt;FILE&gt; is in the current directory, call it in your Makefile by prepending it with './'&lt;BR /&gt;&lt;BR /&gt;Just test it, then shoot at my response ;-).&lt;/FILE&gt;</description>
    <pubDate>Wed, 21 Jan 2004 01:34:00 GMT</pubDate>
    <dc:creator>Elmar P. Kolkman</dc:creator>
    <dc:date>2004-01-21T01:34:00Z</dc:date>
    <item>
      <title>Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168535#M896995</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have created a file which contains few of the rules that would be executed on the basis of few conditions.  This file is being called from the Makefile.  And during compilation, I get the following error :&lt;BR /&gt;&lt;BR /&gt;Cannot load &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;The &lt;FILE&gt; looks like this :&lt;BR /&gt;&lt;BR /&gt;************************&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;package="$PACKAGE"&lt;BR /&gt;classCodes="classCodes"&lt;BR /&gt;&lt;BR /&gt;if&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;fi&lt;BR /&gt;*************************&lt;BR /&gt;&lt;BR /&gt;The file has appropriate permissions also.&lt;BR /&gt;&lt;BR /&gt;Please suggest the reason and possible solution for the same.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nameesh.&lt;BR /&gt;&lt;/FILE&gt;&lt;/FILE&gt;</description>
      <pubDate>Tue, 20 Jan 2004 09:02:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168535#M896995</guid>
      <dc:creator>Nameesh</dc:creator>
      <dc:date>2004-01-20T09:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168536#M896996</link>
      <description>How do you call it from your Makefile?</description>
      <pubDate>Tue, 20 Jan 2004 09:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168536#M896996</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-20T09:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168537#M896997</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I call it from another rule in the Makefile ie.,&lt;BR /&gt;&lt;BR /&gt;preComp:&lt;BR /&gt;        export PACKAGE="$(PACKAGE)"&lt;BR /&gt;        &lt;FILE&gt; $(TEMPLATES)&lt;BR /&gt;&lt;BR /&gt;And the compilation stops while reading and running this file contents.&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nameesh.&lt;BR /&gt;&lt;/FILE&gt;</description>
      <pubDate>Tue, 20 Jan 2004 09:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168537#M896997</guid>
      <dc:creator>Nameesh</dc:creator>
      <dc:date>2004-01-20T09:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168538#M896998</link>
      <description>I guess there is a leading tab before the &lt;FILE&gt; in your Makefile which is removed by the forum. Do you specify the script with full pathname? Or a relative path? . is not in your PATH when running from make...&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;</description>
      <pubDate>Tue, 20 Jan 2004 09:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168538#M896998</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-20T09:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168539#M896999</link>
      <description>There is doesn't seem to be any problem in the makefile. I have made sure that there no blank spaces in the Makefile and it contains only Tabs.&lt;BR /&gt;&lt;BR /&gt;This &lt;FILE&gt; is present in present in the direcotry from where I am running the make.  But, doesn't have a extension.&lt;BR /&gt;&lt;BR /&gt;File is of command text type.  Does that make any difference ?&lt;/FILE&gt;</description>
      <pubDate>Tue, 20 Jan 2004 10:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168539#M896999</guid>
      <dc:creator>Nameesh</dc:creator>
      <dc:date>2004-01-20T10:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168540#M897000</link>
      <description>Nameesh,&lt;BR /&gt;if &lt;FILE&gt; is in the current directory, call it in your Makefile by prepending it with './'&lt;BR /&gt;&lt;BR /&gt;Just test it, then shoot at my response ;-).&lt;/FILE&gt;</description>
      <pubDate>Wed, 21 Jan 2004 01:34:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168540#M897000</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-21T01:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168541#M897001</link>
      <description>That surely isn't the reason because I am setting my PATH variable correctly.&lt;BR /&gt;&lt;BR /&gt;I just tried to remove some junk space character and then it is able to access the file.&lt;BR /&gt;&lt;BR /&gt;But then, the variables exported in the Makefile are not visible in the &lt;FILE&gt;. Eg:&lt;BR /&gt;&lt;BR /&gt;rule1: export CLASSPATH=$BLD_LIB&lt;BR /&gt;       &lt;FILE1&gt; $SRC&lt;BR /&gt;&lt;BR /&gt;In this instance, I set the CLASSPATH.  but, the variable value is not visible in the &lt;FILE&gt; and it tells that :&lt;BR /&gt;&lt;BR /&gt;CLASSPATH variable not found&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nameesh.&lt;BR /&gt;&lt;/FILE&gt;&lt;/FILE1&gt;&lt;/FILE&gt;</description>
      <pubDate>Wed, 21 Jan 2004 01:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168541#M897001</guid>
      <dc:creator>Nameesh</dc:creator>
      <dc:date>2004-01-21T01:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load &lt;file&gt;</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168542#M897002</link>
      <description>I'm not talking about CLASSPATH, I'm, talking about the command PATH, used to locate which command you try to run. For instance, if you type sh on your command line, PATH is used to find where sh is located on your system. It defines if /bin/sh, /usr/bin/sh, /sbin/sh or perhaps even /usr/local/bin/sh is called. When running commands as normal user from the command line, you can even call commands in the current directory, since '.' is in the PATH too by default.&lt;BR /&gt;&lt;BR /&gt;But the error message indicates it cannot find your executable, so it seems your current directory, '.', is not in your PATH. You could do 'echo ${PATH}' in your Makefile before starting &lt;FILE&gt; to make sure.&lt;/FILE&gt;</description>
      <pubDate>Wed, 21 Jan 2004 01:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-load-lt-file-gt/m-p/3168542#M897002</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-21T01:53:44Z</dc:date>
    </item>
  </channel>
</rss>

