You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Tom Melendez (JIRA)" <ji...@apache.org> on 2009/11/08 17:04:32 UTC

[jira] Created: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

./configure requires --tsconfig option on 8.0.4 LTS
---------------------------------------------------

                 Key: TS-27
                 URL: https://issues.apache.org/jira/browse/TS-27
             Project: Traffic Server
          Issue Type: Bug
         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
2009 i686 GNU/Linux
supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
Ubuntu 8.04.3 LTS \n \l
            Reporter: Tom Melendez
         Attachments: config.log

I need to specify the following when configuring YTS:

# configure command
./configure --with-tclconfig=/usr/lib/tcl8.4/

Snippet from the config.log if I don't specify the above:

configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
  >&5
configure:7186: $? = 0
configure:7204: result: yes
configure:7245: checking for Tcl configuration
configure:7342: WARNING: Can't find Tcl configuration definitions


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774851#action_12774851 ] 

Leif Hedstrom commented on TS-27:
---------------------------------

Never mind the comment about config.log, seeing it now (not used to Jira),

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776265#action_12776265 ] 

Leif Hedstrom commented on TS-27:
---------------------------------

Any updates on this? We've landed a bunch of stuff lately, did any of it "fix" your problem? I was never able to reproduce it on a completely fresh 8.04 installation :/.

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Tom Melendez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Melendez resolved TS-27.
----------------------------

    Resolution: Fixed

Followed Leif's suggestion of svn up, autoreconf -i (I used the -force option to overwrite config.guess) and re-ran ./configure - configure works fine now on Ubuntu 8.04

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779226#action_12779226 ] 

Leif Hedstrom commented on TS-27:
---------------------------------

Hey, just checking in, any updates on this? Please make sure you get a fresh update from SVN, and rerun "autoreconf -i" and "configure". I still haven't been able to reproduce this, at least nothing like it on 32-bit. We have some more 64-bit fixes coming in soon I think.

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Tom Melendez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Melendez updated TS-27:
---------------------------

    Attachment: config.log

config.log without --tclConfig option

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Tom Melendez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776295#action_12776295 ] 

Tom Melendez commented on TS-27:
--------------------------------

Hi Leif,

Sorry, I haven't been able to test.  I'm at IPC for the next week, away from my linux box.  Will test when I get back.

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-27:
----------------------------

    Component/s: Build

Is this a 64-bit box by chance ? I've noticed that on 64-bit boxes, the m4/tcl.m4 script might not pick up the tclConfig.sh script properly.

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774852#action_12774852 ] 

Leif Hedstrom commented on TS-27:
---------------------------------

Just to make sure, do you have either (or both) of these files:

   /usr/share/aclocal/tcl.m4
   trafficserver/traffic/trunk/m4/tcl.m4


Also, does your configure.ac have the following lines?

SC_PATH_TCLCONFIG

# if tclConfig.sh loads properly, assume libraries are there and working
SC_LOAD_TCLCONFIG

# expect tclConfig.sh to populate TCL_LIB_FLAG and TCL_INCLUDE_SPEC
AC_SUBST([LIBTCL],[$TCL_LIB_FLAG])
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"


> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775129#action_12775129 ] 

Leif Hedstrom commented on TS-27:
---------------------------------

fwiw, I've made a small patch for 64-bit TCL stuff on TS-13.

> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774850#action_12774850 ] 

Leif Hedstrom commented on TS-27:
---------------------------------

Bizarre. I did a fresh install of Ubuntu 8.04, and the only thing I did was this:

   sudo apt-get install g++ autoconf libtool automake libssl-dev tcl-dev expat libexpat-dev libdb-dev


and it builds fine. Can you attach the entire config.log ? Something is missing or something on your box... Maybe make sure "ldconfig" has been run (although, that really should happen automatically, so just grasping at anything here ...).


> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TS-27) ./configure requires --tsconfig option on 8.0.4 LTS

Posted by "Tom Melendez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Melendez closed TS-27.
--------------------------


> ./configure requires --tsconfig option on 8.0.4 LTS
> ---------------------------------------------------
>
>                 Key: TS-27
>                 URL: https://issues.apache.org/jira/browse/TS-27
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: supertom@supertom-laptop:~/code/ytrafficserver$ uname -a
> Linux supertom-laptop 2.6.24-24-generic #1 SMP Fri Jul 24 22:46:06 UTC
> 2009 i686 GNU/Linux
> supertom@supertom-laptop:~/code/ytrafficserver$ cat /etc/issue
> Ubuntu 8.04.3 LTS \n \l
>            Reporter: Tom Melendez
>         Attachments: config.log
>
>
> I need to specify the following when configuring YTS:
> # configure command
> ./configure --with-tclconfig=/usr/lib/tcl8.4/
> Snippet from the config.log if I don't specify the above:
> configure:7180:  /usr/bin/gcc -o conftest -g -pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lssl -ldl -lcrypto -lgcc
>   >&5
> configure:7186: $? = 0
> configure:7204: result: yes
> configure:7245: checking for Tcl configuration
> configure:7342: WARNING: Can't find Tcl configuration definitions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.