Both ways should work (unless you've got some supremely weird shell). One way prepends the sdk bin directory to the path, the other appends it (so, for example, if you already had another executable named mxmlc in your path, the first would pick the Flex mxmlc, and the other would use the existing mxmlc). But glad you got it working. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com
-----Original Message----- From: Deniz Davutoglu <d...@7ist.com> Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mxml compiler on linux Date: Mon, 15 Dec 2008 22:46:31 +0200 Thank you very much Maciek, it realy sove my problem just with one exception you need to add :$PATH in end of the line other wise it resets your entire path variables. Correct : PATH=/usr/lib/Adobe_Flex_Builder/sdks/4.0/bin:$PATH; wrong : PATH=$PATH:/usr/lib/Adobe_Flex_Builder/sdks/4.0/bin; Thanks. Deniz Posted by: "Maciek Sakrejda" msakre...@truviso.com Mon Dec 15, 2008 9:13 am (PST) It looks like mxmlc is not in your path. Try running 'which mxmlc' from a terminal--that will tell you where it is if it *is* in your path (and just won't print anything if it isn't). If it's not, set your PATH= $PATH:$FLEX_HOME/bin, where $FLEX_HOME is the full path to your Flex sdk (e.g., if you have FB3-alpha4 installed, it's under sdks/3.0.0). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -----Original Message----- From: Deniz Davutoglu <d...@7ist.com> Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] mxml compiler on linux Date: Mon, 15 Dec 2008 19:03:23 +0200 Hi Everyone, I try to build some app which use mxml compiler. in windows everything is ok when I compile .as file with mxmlc it creates swf file, but in Linux when I try to compile same .as file wit mxmlc it cast me error "command not found". I checked all permissions and ownership are ok. Does any one have experience to use sdk in linux? thanks