The "which" command gives you the path name including the file name.
The actual path then is /usr/bin not /usr/bin/g++

On Fri, Sep 5, 2008 at 7:33 PM, Aaron Williams <[EMAIL PROTECTED]> wrote:
> I used the package manager to install g++ in ubuntu.  Also when I do a
> "which g++" it returns /usr/bin/g++.  In my $PATH variable /usr/bin
> appears.  Do I need to add /usr/bin/g++ to it?
>
> Aaron
>
>
>> Message: 2
>> Date: Thu, 4 Sep 2008 14:56:33 -0400
>> From: Ali Saidi <[EMAIL PROTECTED]>
>> Subject: Re: [m5-users] Question on Compiling M5Stable
>> To: M5 users mailing list <[email protected]>
>> Message-ID: <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>>
>> Are you certain you have g++ installed? The only reason CXX could be
>> None is if it wasn't set in the shell you used to execute scons and
>> scons couldn't find g++ in your path. In retrospect we should probably
>> check that the CXX is found by SCons, but either way I imagine that
>> either g++ isn't installed or it's not in your default path.
>>
>> Ali
>>
>> On Sep 4, 2008, at 2:49 PM, Aaron Williams wrote:
>>
>> > Hey,
>> >
>> > I am trying to compile the copy of m5 that I downloaded from the
>> > repository.   I am getting the following error:
>> >
>> > [EMAIL PROTECTED]:~/m5-stable$ scons build/ALPHA_SE/m5.debug
>> > scons: Reading SConscript files ...
>> > TypeError: unsupported operand type(s) for +: 'NoneType' and 'str':
>> >   File "/home/aswilli/m5-stable/SConstruct", line 338:
>> >     env['GCC'] = subprocess.Popen(env['CXX'] + ' --version',
>> > shell=True,
>> >
>> >
>> > I have all of the most current version of the software required.
>> >
>> > There was a previous post by someone with this problem but he said
>> > he did not have g++ or m4 installed in ubuntu.
>> >
>> > I am running ubuntu but have checked for both of these issues.
>> >
>> > Please advise,
>> >
>> > Aaron
>> >
>> > --
>> > Aaron S. Williams
>> > Graduate Student
>> > Arizona State University
>> > Department of Electrical Engineering
>> > [EMAIL PROTECTED]
>> > _______________________________________________
>> > m5-users mailing list
>> > [email protected]
>> > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> m5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>>
>> End of m5-users Digest, Vol 26, Issue 3
>> ***************************************
>
>
>
> --
> Aaron S. Williams
> Graduate Student
> Arizona State University
> Department of Electrical Engineering
> [EMAIL PROTECTED]
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>



-- 
Philip Machanick (Institute for Molecular Bioscience, University of Queensland)
39 Cunningham Street, Taringa, Qld 4068, Australia
http://opinion-nation.blogspot.com/
+61-7-3871-0963 (office 3365-1624) skype philipmach
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to