lodle/Desurium — Issue #48: Build problems (Linux)
Author: sadam36
Created: 2012-01-28 18:29:12+00:00
State: open

Hi,
I saw that 'install-deps.sh' has no Arch Linux option, so I tried to wrote mine. After that I wanted to test it, so tried to build Desurium. Third party built without problems, but I got an error while running build_lin/build.sh:

```
Traceback (most recent call last):
File "../src/third_party/gyp/gyp", line 18, in
sys.exit(gyp.main(sys.argv[1:]))
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/__init__.py", line 471, in main
options.circular_check)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/__init__.py", line 111, in Load
depth, generator_input_info, check, circular_check)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 2371, in Load
ValidateTargetType(target, target_dict)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 2084, in ValidateTargetType
(target, target_type, '/'.join(VALID_TARGET_TYPES)))
Exception: Target ../src/third_party/libs.gyp:gtk#target has an invalid target type 'settings'. Must be one of executable/loadable_module/static_library/shared_library/none.
```

I wanted to check if that's not dependencies fault, so I switched to Fedora (16), ran 'install-deps.sh'. After that I tried to build third party, and got problems with curl and wxWidgets.

* Curl gave me missing stropts.h.
I ran: ```yum provides */stropts.h``` and got ```arm-gp2x-linux-glibc-2.3.6-9.fc15.noarch```. Arm - strange... But installing it fixed problem.
* wxWidgets gave me:
```make: *** No rule to make target `/usr/lib/glib-2.0/include/glibconfig.h', needed by `monodll_utilscmn.o'. Stop.``` And I'm not sure how I can fix it.

I don't know if that's a bug, or I am doing something wrong, but help would be appreciated :)

Also I saw that link branding-> branding_default is made, so line "Copy branding_default in src to src/branding" in readme is probably no longer needed. Also lines for installing dependencies could be changed to just running install-deps.sh.