A flaring kit will run you approx $30 from princess auto. With said kit, I have successfully re-flared brake lines (using single flare and double flare, either seems to work fine) after encountering the same problem as you when attempting to install longer hoses.
There's a cutting blade tool to make a nice neat straight cut into the aluminium line, slip the 'bolt' back onto the line, then flare it with the flaring tool. Pretty self-explanatory, simple kit and works like a charm.