ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: lfcesar on August 08, 2013, 02:54:09 pm

Title: Invalid search directories returned. Start search string does not match a line
Post by: lfcesar on August 08, 2013, 02:54:09 pm
I get this to run. (Ubuntu). some solution.?
follow all the steps. but I get that.


 :( :( :( :( :(
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: Josh @ Dreamland on August 08, 2013, 04:23:30 pm
Hi there! There may be a problem with the locale interpreter on your installation. What is the default language on your system?

Worst case scenario, run [snip]gcc -E -x c++ -v /dev/null[/snip] and replace the English lines in Compilers/Linux/gcc.ey with the correct translation lines.

Unless I'm mistaken, this problem is happening because gcc is ignoring the locale change imposed by ENIGMA to give the correctsearch directories list. The sad thng is, there's a way to get GCC to just print the directories without anything else, but I don't remember what it is, and it's impossible to find on Google.
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: Goombert on August 08, 2013, 07:58:46 pm
That is interesting I've yet to have seen that. Somebody be sure to add the fix to the Troubleshooting page...
http://enigma-dev.org/docs/Wiki/Troubleshoot
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: lfcesar on August 12, 2013, 01:49:31 pm
gcc.ey

Code: [Select]
%e-yaml
---
Name: GNU GCC G++
Native: Yes
Maintainer: RetroX
Target-platform: Linux

# Some info about it
path:
make: make
cc: gcc
cxx: g++
defines: cpp -dM -x c++ -E $blank
searchdirs: gcc -E -x c++ -v $blank
searchdirs-start: "#include <...> search starts here:"
searchdirs-end: "End of search list."
resources: $exe
cppflags:
cxxflags:
cflags:
ldflags:
links:

Build-Extension:
Run-output: $tempfile
Run-Program: $game
Run-Params:


where I put that line??
gcc -E -x c++ -v /dev/null

Spanish language use
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: Goombert on August 12, 2013, 02:01:37 pm
ifcesar, replace it after searchdirs: with the line he gave you
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: Josh @ Dreamland on August 12, 2013, 08:04:56 pm
No. I want him to run it in a terminal.

lfcesar: Just open a terminal (from your applications menu, or maybe with control-alt-T). Enter that line and run it with Enter. Then try replacing "#include <...> search starts here:" with the translation it prints.
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: lfcesar on August 12, 2013, 11:25:26 pm
thank you, so stay, and it works well!, active now as the other platforms?. html5, android, etc?

Code: [Select]
%e-yaml
---
Name: GNU GCC G++
Native: Yes
Maintainer: RetroX
Target-platform: Linux

# Some info about it
path:
make: make
cc: gcc
cxx: g++
defines: cpp -dM -x c++ -E $blank
searchdirs: gcc -E -x c++ -v $blank
 /usr/include/c++/4.7
 /usr/include/x86_64-linux-gnu/c++/4.7/.
 /usr/include/c++/4.7/backward
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include

resources: $exe
cppflags:
cxxflags:
cflags:
ldflags:
links:

Build-Extension:
Run-output: $tempfile
Run-Program: $game
Run-Params:
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: Josh @ Dreamland on August 13, 2013, 08:45:37 am
For some reason, the default is working and the about.ey version is not. Someone remind me to figure out why.
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: lfcesar on August 15, 2013, 12:17:05 pm
in archlinux is equal?, I tried it and not come out XD!

or archlinux libraries are installed for it to run well enigme
Title: Re: Invalid search directories returned. Start search string does not match a line
Post by: Josh @ Dreamland on August 15, 2013, 02:44:38 pm
The behavior on Arch Linux should be the same, yes. Though the behavior you're getting was not anticipated.