1. Sanity Check

I recently rebuilt my windows box. Running old code I am getting this

    1. E:\Xtras\apache\cgi-bin\eusqlite3\wrapper.ew:12
      <0052>:: can't find 'dll.e' in any of ...
      E:\Xtras\apache\cgi-bin\eusqlite3
      E:\Xtras\apache\cgi-bin\ctrl.exw
      X:\Xtras\euphoria\include

      include dll.e
      ^
      ## The "X:\" bit is the problem. I don't HAVE an "X" drive anymore. I scanned (searched) all files for reference to "X:\Xtras" and came up empty. I double checked my system and user PATH, EUDIR and EUINC variables, all use the new "E:\Xtras".

I am going INSANE... I tried moving the includes to the local CGI dir but each one I move (which works for that file) leaves the next one being not found because of the "X:" thing.

Please, someone, smack me in the head or do something to help me figure this out?

new topic     » topic index » view message » categorize

2. Re: Sanity Check

Tuishimi said...

The "X:\" bit is the problem. I don't HAVE an "X" drive anymore. I scanned (searched) all files for reference to "X:\Xtras" and came up empty. I double checked my system and user PATH, EUDIR and EUINC variables, all use the new "E:\Xtras".

I am going INSANE... I tried moving the includes to the local CGI dir but each one I move (which works for that file) leaves the next one being not found because of the "X:" thing.

Please, someone, smack me in the head or do something to help me figure this out?

Given that it's at the end of the list, it's probably based on a EUDIR value. You've probably already gone through this list, but first, let's walk through some EUDIR scenarios:

  • Do you get this when running from the command line, or just as CGI?
  • Does apache run under its own user? If so, is there a user specific EUDIR (or EUINC) set up for it?
  • Is there still a system variable using the X drive?

If none of those apply, and if EUDIR is not set, then euphoria tries some other defaults (again, this is only if there is no EUDIR set). It will use the output of HOMEDRIVE and HOMEPATH to try to figure out where euphoria may have been installed. It's possible that HOMEDRIVE is still set to X, even though X no longer exists.

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Sanity Check

Command line works fine. This happens running CGI. My env variables are defined globally, not under the user section (Windows 7).

(Sorry for taking so long to get back... work got in the way).

new topic     » goto parent     » topic index » view message » categorize

4. Re: Sanity Check

Where is HOMEDRIVE defined? I'll check that.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Sanity Check

%HOMEDRIVE% is C:... I installed all my programming languages on my second drive which USED to be X:, but is now E:. Maybe I should just rename the drive to X:. :)

new topic     » goto parent     » topic index » view message » categorize

6. Re: Sanity Check

EUDIR and EUINC are defined.

EUDIR is E:\Xtras\euphoria EUINC is E:\Xtras\euphoria\include (I know, redundant/not necessary).

So where is it getting X:\Xtras from? :/

new topic     » goto parent     » topic index » view message » categorize

7. Re: Sanity Check

New install... something I noticed is that a lot of my files are indexed by properties only so I am changing them to "Plain Text" and maybe search will find something.

new topic     » goto parent     » topic index » view message » categorize

8. Re: Sanity Check

Nothing... ARGH!

new topic     » goto parent     » topic index » view message » categorize

9. Re: Sanity Check

This is what happens when we leave an old 'eu.cfg' in place. You will have to delete this file. It is in %EUDIR%\bin, if EUDIR is set properly. There are several other places you can create one of these files but the installer only puts one in %EUDIR%\bin.

Shawn

new topic     » goto parent     » topic index » view message » categorize

10. Re: Sanity Check

I just want you to know that I love you.

(And I missed adding that to my indexer... "cfg"... rectified).

THANK YOU!

SDPringle said...

This is what happens when we leave an old 'eu.cfg' in place. You will have to delete this file. It is in %EUDIR%\bin, if EUDIR is set properly. There are several other places you can create one of these files but the installer only puts one in %EUDIR%\bin.

Shawn

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu