• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Annoying path issue?

scootermaster

Platinum Member
So, it's really simple. I have a file I'd like to execute in the

/mnt/hgfs/Dropbox/Research/4.3/vex-3.43/bin

directory. The file is vexcc (not the it matters)

When I execute "vexcc --help" in any directory I get the following:

vexcc: /mnt/hgfs/Dropbox/Research/4.3/vex-3.43/vexcc: Unexpected directory structure

Of course, if I explicitly state the directory, i.e.

/mnt/hgfs/Dropbox/Research/4.3/vex-3.43/bin/vexcc

it works just fine.

"echo $PATH" (this is bash, FC14) returns

/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/mnt/hgfs/Dropbox/Research/4.3/vex-3.43/bin

Edit: Typo!

So, you know, I'm not a complete idiot. It's in the path, as pest as I can tell.

Anyone have any idea what this unexpected directory structure crap means?

This compiler produces all sorts of output and temporary files that I need, and it would really be nice to be able to invoke it from someplace other than it's home vex-3.43/bin directory.

Thanks.
 
Last edited:
Are you sure you've got the paths right?

In your path you have /bin on the end of the basedir and you claim the exe resides in there, but when you run the exe with the fullpath you are not including /bin.
 
Are you sure you've got the paths right?

In your path you have /bin on the end of the basedir and you claim the exe resides in there, but when you run the exe with the fullpath you are not including /bin.

Thanks for looking.

Yeah, that was a typo. When I type the full path, it works. With the bin.

I originally thought it might be because the file was originally called "cc", which is some alias to gcc or something in /usr/bin. But I op-ed it to "vexcc" and see the same behavior.

I guess I just solved it by making an alias between "vexcc" and /mnt/hgfs/Dropbox/Research/4.3/vex-3.43/bin/vexcc. But that seems, y'know, to be beside the whole point of a path, right?
 
Back
Top