Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Could not find a file to match the module name

Joao,

somehow your description sounds very familiar to me but I don't remember what I did about it... Actually, it might be that it had to do with my favorite bug (Bugzilla ID 326333), because managed make can break for various reasons (and weird changes recreate a working makefile). I think that bug was introduced with 6.0, but should be fixed in the next update (Photran 6.0.7, due soon). You might want to check again after that update.

Best

Daniel

On 04/14/2011 11:19 AM, Joao Santos wrote:
Dear all,

I've managed to find a different (and better) solution to this problem: I've 
created a folder inside the project and moved the file SDATA.f90 to that folder. 
Eclipse is now able to build the project. This does not make any sense but it 
works...

Regards,
JSantos





----- Original Message ----
From: Joao Santos <jcsantos@xxxxxxxxx>
To: photran@xxxxxxxxxxx
Sent: Fri, April 1, 2011 9:48:44 AM
Subject: [photran] Could not find a file to match the module name

Dear all,

I've just updated from Fedora 12 to Fedora 14, and so, from "Eclipse Galileo 
3.3.201" and "Photran 5.0.0" to "Eclipse Helios 3.6.1" and "Photran 6.0.3".

I have a fortran program with several files and modules, which worked in the 
previous versions of Photran, and now, when I try to build it, I get the 
following error:


An internal error occurred during: "Build Project".
Could not find a file to match the module name: SDATA


When this happens the release folder is deleted.
The file SDATA.f90 is in the same directory of the rest of the files.


The only way to work around this problem is to rename the file SDATA.f90 to say 
aSDATA.f90 and build the program. This will give an error in the Eclipse console 

during the compilation. Next I rename the file back to SDATA.f90 and manually 
change the subdir.mk file (replace aSDATA by SDATA) and run make in a console 
outside Eclipse.


I've tried to rename the module to MODSDATA but I get the same error.
As I've mentioned before, I have several modules. However, this is the only one 
giving me problems.

How can I solve this? Can anyone help me?


Thanks,
JSantos


      
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

Back to the top